Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 327644
b: refs/heads/master
c: 19c3b83
h: refs/heads/master
v: v3
  • Loading branch information
Johannes Berg committed Aug 1, 2012
1 parent cbfb0d9 commit df0e003
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e83e6541cee0a12bc445b0f4fad5214df5803087
refs/heads/master: 19c3b8303d4686aa373c669ee833609b3fb403cc
11 changes: 7 additions & 4 deletions trunk/net/mac80211/mlme.c
Original file line number Diff line number Diff line change
Expand Up @@ -3357,10 +3357,13 @@ int ieee80211_mgd_assoc(struct ieee80211_sub_if_data *sdata,
}

/* prepare assoc data */

ifmgd->flags &= ~IEEE80211_STA_DISABLE_11N;
ifmgd->flags &= ~IEEE80211_STA_NULLFUNC_ACKED;
ifmgd->flags &= ~IEEE80211_STA_DISABLE_VHT;

/*
* keep only the 40 MHz disable bit set as it might have
* been set during authentication already, all other bits
* should be reset for a new connection
*/
ifmgd->flags &= IEEE80211_STA_DISABLE_40MHZ;

ifmgd->beacon_crc_valid = false;

Expand Down

0 comments on commit df0e003

Please sign in to comment.