Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324739
b: refs/heads/master
c: f6aa782
h: refs/heads/master
i:
  324737: 6ac12f6
  324735: 970dc65
v: v3
  • Loading branch information
Wei Yongjun authored and Greg Kroah-Hartman committed Sep 4, 2012
1 parent 832b2e2 commit 9327201
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: f69ba6abdae3fc5072175a74759f92af4c26b56f
refs/heads/master: f6aa782f255de96b89ff4fc98dad0d57a9691c8a
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
*/


#include <linux/etherdevice.h>

#include "ieee80211.h"
#include "dot11d.h"
/* FIXME: add A freqs */
Expand Down Expand Up @@ -136,7 +138,6 @@ int ieee80211_wx_set_wap(struct ieee80211_device *ieee,
{

int ret = 0;
u8 zero[] = {0,0,0,0,0,0};
unsigned long flags;

short ifup = ieee->proto_started;//dev->flags & IFF_UP;
Expand Down Expand Up @@ -165,7 +166,7 @@ int ieee80211_wx_set_wap(struct ieee80211_device *ieee,
spin_lock_irqsave(&ieee->lock, flags);

memcpy(ieee->current_network.bssid, temp->sa_data, ETH_ALEN);
ieee->wap_set = memcmp(temp->sa_data, zero,ETH_ALEN)!=0;
ieee->wap_set = !is_zero_ether_addr(temp->sa_data);

spin_unlock_irqrestore(&ieee->lock, flags);

Expand Down

0 comments on commit 9327201

Please sign in to comment.