Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 214891
b: refs/heads/master
c: f2176d7
h: refs/heads/master
i:
  214889: 22d080d
  214887: 9c61c9e
v: v3
  • Loading branch information
Juuso Oikarinen authored and John W. Linville committed Sep 28, 2010
1 parent b8b56e4 commit c743c8d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 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: 93b05238027420978d785569f8c1aa4a6867bc13
refs/heads/master: f2176d7240e4f455a6e007703c7512fbde926dc8
16 changes: 8 additions & 8 deletions trunk/net/mac80211/mlme.c
Original file line number Diff line number Diff line change
Expand Up @@ -880,14 +880,6 @@ static void ieee80211_set_associated(struct ieee80211_sub_if_data *sdata,
sdata->u.mgd.flags &= ~(IEEE80211_STA_CONNECTION_POLL |
IEEE80211_STA_BEACON_POLL);

/*
* Always handle WMM once after association regardless
* of the first value the AP uses. Setting -1 here has
* that effect because the AP values is an unsigned
* 4-bit value.
*/
sdata->u.mgd.wmm_last_param_set = -1;

ieee80211_led_assoc(local, 1);

if (local->hw.flags & IEEE80211_HW_NEED_DTIM_PERIOD)
Expand Down Expand Up @@ -1367,6 +1359,14 @@ static bool ieee80211_assoc_success(struct ieee80211_work *wk,
return false;
}

/*
* Always handle WMM once after association regardless
* of the first value the AP uses. Setting -1 here has
* that effect because the AP values is an unsigned
* 4-bit value.
*/
ifmgd->wmm_last_param_set = -1;

if (elems.wmm_param)
ieee80211_sta_wmm_params(local, sdata, elems.wmm_param,
elems.wmm_param_len);
Expand Down

0 comments on commit c743c8d

Please sign in to comment.