Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203315
b: refs/heads/master
c: 1ed7a17
h: refs/heads/master
i:
  203313: 7b4f61c
  203311: 52a908c
v: v3
  • Loading branch information
Ivo van Doorn authored and John W. Linville committed Jun 30, 2010
1 parent a52e9e1 commit 91e8f1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 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: f1aa4c541e98afa8b770a75ccaa8504d0bff44a7
refs/heads/master: 1ed7a17a8eb4e60b9e25d9d0eaec19ac704d4f9b
7 changes: 2 additions & 5 deletions trunk/drivers/net/wireless/rt2x00/rt2x00mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,6 @@ void rt2x00mac_bss_info_changed(struct ieee80211_hw *hw,
{
struct rt2x00_dev *rt2x00dev = hw->priv;
struct rt2x00_intf *intf = vif_to_intf(vif);
int update_bssid = 0;

/*
* mac80211 might be calling this function while we are trying
Expand All @@ -578,10 +577,8 @@ void rt2x00mac_bss_info_changed(struct ieee80211_hw *hw,
* conf->bssid can be NULL if coming from the internal
* beacon update routine.
*/
if (changes & BSS_CHANGED_BSSID) {
update_bssid = 1;
if (changes & BSS_CHANGED_BSSID)
memcpy(&intf->bssid, bss_conf->bssid, ETH_ALEN);
}

spin_unlock(&intf->lock);

Expand All @@ -593,7 +590,7 @@ void rt2x00mac_bss_info_changed(struct ieee80211_hw *hw,
*/
if (changes & BSS_CHANGED_BSSID)
rt2x00lib_config_intf(rt2x00dev, intf, vif->type, NULL,
update_bssid ? bss_conf->bssid : NULL);
bss_conf->bssid);

/*
* Update the beacon.
Expand Down

0 comments on commit 91e8f1a

Please sign in to comment.