Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134827
b: refs/heads/master
c: 53d6f81
h: refs/heads/master
i:
  134825: d94180d
  134823: 473c49c
v: v3
  • Loading branch information
Vasanthakumar Thiagarajan authored and John W. Linville committed Feb 27, 2009
1 parent b3d1d57 commit 9cebf62
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: f5ac2b9eb58f5efad83f2d0e7fa464e8980ecfc9
refs/heads/master: 53d6f81c7814690ba096584c733e5deaa34fdd8a
6 changes: 4 additions & 2 deletions trunk/net/mac80211/mlme.c
Original file line number Diff line number Diff line change
Expand Up @@ -1528,7 +1528,8 @@ static void ieee80211_rx_mgmt_assoc_resp(struct ieee80211_sub_if_data *sdata,
elems.wmm_param_len);

if (elems.ht_info_elem && elems.wmm_param &&
(ifsta->flags & IEEE80211_STA_WMM_ENABLED))
(ifsta->flags & IEEE80211_STA_WMM_ENABLED) &&
!(ifsta->flags & IEEE80211_STA_TKIP_WEP_USED))
changed |= ieee80211_enable_ht(sdata, elems.ht_info_elem,
ap_ht_cap_flags);

Expand Down Expand Up @@ -1954,7 +1955,8 @@ static void ieee80211_rx_mgmt_beacon(struct ieee80211_sub_if_data *sdata,
erp_valid, erp_value);


if (elems.ht_cap_elem && elems.ht_info_elem && elems.wmm_param) {
if (elems.ht_cap_elem && elems.ht_info_elem && elems.wmm_param &&
!(ifsta->flags & IEEE80211_STA_TKIP_WEP_USED)) {
struct sta_info *sta;
struct ieee80211_supported_band *sband;
u16 ap_ht_cap_flags;
Expand Down

0 comments on commit 9cebf62

Please sign in to comment.