mac80211: Fix a typo in assoc vs. reassoc check
authorJouni Malinen <jouni.malinen@atheros.com>
Thu, 19 Mar 2009 11:39:19 +0000 (13:39 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 28 Mar 2009 00:13:01 +0000 (20:13 -0400)
Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c

index a55879663b3c8394de6a4e4fff1a7ab575d26e2c..4c753bb43ba9a41ff8eeb6c2daacd18c73a0eb83 100644 (file)
@@ -103,7 +103,7 @@ static void ieee80211_send_assoc(struct ieee80211_sub_if_data *sdata)
        u32 rates = 0;
        size_t e_ies_len;
 
-       if (ifmgd->flags & IEEE80211_IBSS_PREV_BSSID_SET) {
+       if (ifmgd->flags & IEEE80211_STA_PREV_BSSID_SET) {
                e_ies = sdata->u.mgd.ie_reassocreq;
                e_ies_len = sdata->u.mgd.ie_reassocreq_len;
        } else {