Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324746
b: refs/heads/master
c: 71cd791
h: refs/heads/master
v: v3
  • Loading branch information
Wei Yongjun authored and Greg Kroah-Hartman committed Sep 4, 2012
1 parent d422798 commit d4ea617
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: ceee26c0e09ee6df22563bf01aa6b29bd1e5c0de
refs/heads/master: 71cd7913cb7b28aa6e7daee217339fc8c70f1a0b
8 changes: 1 addition & 7 deletions trunk/drivers/staging/rtl8192e/rtllib_softmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -2620,13 +2620,7 @@ void rtllib_wake_all_queues(struct rtllib_device *ieee)
inline void rtllib_randomize_cell(struct rtllib_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 d4ea617

Please sign in to comment.