Commit 4b4698c4 authored by Jouni Malinen's avatar Jouni Malinen Committed by John W. Linville

mac80211: Fix a typo in assoc vs. reassoc check

Signed-off-by: default avatarJouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 0934af23
...@@ -103,7 +103,7 @@ static void ieee80211_send_assoc(struct ieee80211_sub_if_data *sdata) ...@@ -103,7 +103,7 @@ static void ieee80211_send_assoc(struct ieee80211_sub_if_data *sdata)
u32 rates = 0; u32 rates = 0;
size_t e_ies_len; 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 = sdata->u.mgd.ie_reassocreq;
e_ies_len = sdata->u.mgd.ie_reassocreq_len; e_ies_len = sdata->u.mgd.ie_reassocreq_len;
} else { } else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment