mirror of
https://github.com/torvalds/linux.git
synced 2024-11-05 03:21:32 +00:00
mac80211: Fix a typo in assoc vs. reassoc check
Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
0934af2340
commit
4b4698c443
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user