Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 183632
b: refs/heads/master
c: c97470d
h: refs/heads/master
v: v3
  • Loading branch information
Lennert Buytenhek authored and John W. Linville committed Jan 12, 2010
1 parent 948f436 commit a50d883
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: 9189c10087a738c764046fa27651d332594cd8e6
refs/heads/master: c97470dd253831e880c72ea5d022ed7f3aee45c3
7 changes: 4 additions & 3 deletions trunk/drivers/net/wireless/mwl8k.c
Original file line number Diff line number Diff line change
Expand Up @@ -3261,9 +3261,9 @@ mwl8k_bss_info_changed_sta(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
/*
* Get the AP's legacy and MCS rates.
*/
ap_legacy_rates = 0;
if (vif->bss_conf.assoc) {
struct ieee80211_sta *ap;

rcu_read_lock();

ap = ieee80211_find_sta(vif, vif->bss_conf.bssid);
Expand Down Expand Up @@ -3301,8 +3301,9 @@ mwl8k_bss_info_changed_sta(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
goto out;
}

if (((changed & BSS_CHANGED_ASSOC) && vif->bss_conf.assoc) ||
(changed & (BSS_CHANGED_ERP_CTS_PROT | BSS_CHANGED_HT))) {
if (vif->bss_conf.assoc &&
(changed & (BSS_CHANGED_ASSOC | BSS_CHANGED_ERP_CTS_PROT |
BSS_CHANGED_HT))) {
rc = mwl8k_cmd_set_aid(hw, vif, ap_legacy_rates);
if (rc)
goto out;
Expand Down

0 comments on commit a50d883

Please sign in to comment.