From: Jouni Malinen Date: Thu, 19 Mar 2009 11:39:19 +0000 (+0200) Subject: mac80211: Fix a typo in assoc vs. reassoc check X-Git-Tag: firefly_0821_release~14712^2~83^2~56 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4b4698c443c9db62b220c41a1793872d6ebe82e1;p=firefly-linux-kernel-4.4.55.git mac80211: Fix a typo in assoc vs. reassoc check Signed-off-by: Jouni Malinen Signed-off-by: John W. Linville --- diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index a55879663b3c..4c753bb43ba9 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -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 {