Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324747
b: refs/heads/master
c: 37905ae
h: refs/heads/master
i:
  324745: d422798
  324743: e72447a
v: v3
  • Loading branch information
Wei Yongjun authored and Greg Kroah-Hartman committed Sep 4, 2012
1 parent d4ea617 commit 41315db
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: 71cd7913cb7b28aa6e7daee217339fc8c70f1a0b
refs/heads/master: 37905ae131a728d90515bb9258f195edb6c5d5a2
8 changes: 1 addition & 7 deletions trunk/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -2288,13 +2288,7 @@ void ieee80211_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 41315db

Please sign in to comment.