|
@@ -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)
|