Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324745
b: refs/heads/master
c: ceee26c
h: refs/heads/master
i:
  324743: e72447a
v: v3
  • Loading branch information
Wei Yongjun authored and Greg Kroah-Hartman committed Sep 4, 2012
1 parent 762db9e commit d422798
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 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: b4797fef980664ea5923b24795ed365177d68525
refs/heads/master: ceee26c0e09ee6df22563bf01aa6b29bd1e5c0de
Original file line number Diff line number Diff line change
Expand Up @@ -2111,13 +2111,7 @@ void ieee80211_rtl_stop_queue(struct ieee80211_device *ieee)
inline void ieee80211_randomize_cell(struct ieee80211_device *ieee)
{

get_random_bytes(ieee->current_network.bssid, ETH_ALEN);

/* an IBSS cell address must have the two less significant
* bits of the first byte = 2
*/
ieee->current_network.bssid[0] &= ~0x01;
ieee->current_network.bssid[0] |= 0x02;
random_ether_addr(ieee->current_network.bssid);
}

/* called in user context only */
Expand Down

0 comments on commit d422798

Please sign in to comment.