Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 352159
b: refs/heads/master
c: ef08d02
h: refs/heads/master
i:
  352157: 7aded0f
  352155: ca13130
  352151: bd1aee3
  352143: b572a1b
  352127: 303694c
v: v3
  • Loading branch information
Luciano Coelho committed Nov 27, 2012
1 parent f451ff2 commit 6f0ed15
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 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: a8e27820f27155d2eaea2426b10bac810c293f3b
refs/heads/master: ef08d0281a90781b07d2030c1c69f4fb2f156267
26 changes: 13 additions & 13 deletions trunk/drivers/net/wireless/ti/wlcore/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3929,19 +3929,19 @@ static void wl1271_bss_info_changed_sta(struct wl1271 *wl,
BSS_CHANGED_ASSOC)) {
rcu_read_lock();
sta = ieee80211_find_sta(vif, bss_conf->bssid);
if (!sta)
goto sta_not_found;

/* save the supp_rates of the ap */
sta_rate_set = sta->supp_rates[wlvif->band];
if (sta->ht_cap.ht_supported)
sta_rate_set |=
(sta->ht_cap.mcs.rx_mask[0] << HW_HT_RATES_OFFSET) |
(sta->ht_cap.mcs.rx_mask[1] << HW_MIMO_RATES_OFFSET);
sta_ht_cap = sta->ht_cap;
sta_exists = true;

sta_not_found:
if (sta) {
u8 *rx_mask = sta->ht_cap.mcs.rx_mask;

/* save the supp_rates of the ap */
sta_rate_set = sta->supp_rates[wlvif->band];
if (sta->ht_cap.ht_supported)
sta_rate_set |=
(rx_mask[0] << HW_HT_RATES_OFFSET) |
(rx_mask[1] << HW_MIMO_RATES_OFFSET);
sta_ht_cap = sta->ht_cap;
sta_exists = true;
}

rcu_read_unlock();
}

Expand Down

0 comments on commit 6f0ed15

Please sign in to comment.