Skip to content

Commit

Permalink
mac80211: Fix a typo in assoc vs. reassoc check
Browse files Browse the repository at this point in the history
Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Jouni Malinen authored and John W. Linville committed Mar 28, 2009
1 parent 0934af2 commit 4b4698c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/mac80211/mlme.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 4b4698c

Please sign in to comment.