Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 66238
b: refs/heads/master
c: 1bec3f1
h: refs/heads/master
v: v3
  • Loading branch information
Johannes Berg authored and David S. Miller committed Oct 10, 2007
1 parent 443407d commit bf17bf6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: 9b8a74e3482f9fc077a88c13fa0ceca8feb0b772
refs/heads/master: 1bec3f1a3ec5d922d1040c7845b82cd496c02d90
5 changes: 4 additions & 1 deletion trunk/net/mac80211/ieee80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,10 @@ static int ieee80211_open(struct net_device *dev)

conf.if_id = dev->ifindex;
conf.type = sdata->type;
conf.mac_addr = dev->dev_addr;
if (sdata->type == IEEE80211_IF_TYPE_MNTR)
conf.mac_addr = NULL;
else
conf.mac_addr = dev->dev_addr;
res = local->ops->add_interface(local_to_hw(local), &conf);
if (res) {
if (sdata->type == IEEE80211_IF_TYPE_MNTR)
Expand Down

0 comments on commit bf17bf6

Please sign in to comment.