Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 256476
b: refs/heads/master
c: 2fcf282
h: refs/heads/master
v: v3
  • Loading branch information
Mohammed Shafi Shajakhan authored and John W. Linville committed Jul 13, 2011
1 parent 956be94 commit 3a0c1f0
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 5d82c53a380ca96421a714481c9113ba54ede609
refs/heads/master: 2fcf282471f04f465d0368e46e973e01504292b3
3 changes: 1 addition & 2 deletions trunk/net/mac80211/iface.c
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,7 @@ static int ieee80211_open(struct net_device *dev)
int err;

/* fail early if user set an invalid address */
if (!is_zero_ether_addr(dev->dev_addr) &&
!is_valid_ether_addr(dev->dev_addr))
if (!is_valid_ether_addr(dev->dev_addr))
return -EADDRNOTAVAIL;

err = ieee80211_check_concurrent_iface(sdata, sdata->vif.type);
Expand Down

0 comments on commit 3a0c1f0

Please sign in to comment.