Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324749
b: refs/heads/master
c: 6a5c231
h: refs/heads/master
i:
  324747: 41315db
v: v3
  • Loading branch information
Wei Yongjun authored and Greg Kroah-Hartman committed Sep 4, 2012
1 parent 3a45c83 commit df613aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: c8be681fad93aac2121efcd1bcff54ffe53403eb
refs/heads/master: 6a5c23194e09103ed24301e098c03a7da382a656
4 changes: 1 addition & 3 deletions trunk/drivers/staging/csr/sme_wext.c
Original file line number Diff line number Diff line change
Expand Up @@ -1191,8 +1191,6 @@ unifi_siwap(struct net_device *dev, struct iw_request_info *info,
netInterface_priv_t *interfacePriv = (netInterface_priv_t *)netdev_priv(dev);
unifi_priv_t *priv = interfacePriv->privPtr;
int err = 0;
const unsigned char zero_bssid[ETH_ALEN] = {0x00, 0x00, 0x00,
0x00, 0x00, 0x00};

func_enter();

Expand All @@ -1213,7 +1211,7 @@ unifi_siwap(struct net_device *dev, struct iw_request_info *info,
unifi_trace(priv, UDBG1, "unifi_siwap: asked for %pM\n",
wrqu->ap_addr.sa_data);

if (!memcmp(wrqu->ap_addr.sa_data, zero_bssid, ETH_ALEN)) {
if (is_zero_ether_addr(wrqu->ap_addr.sa_data)) {
priv->ignore_bssid_join = FALSE;
err = sme_mgt_disconnect(priv);
if (err) {
Expand Down

0 comments on commit df613aa

Please sign in to comment.