This makes it behave the same whether we have monitor during operation or not. Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> --- will probably crash a few drivers where I pointed out the bugs a few weeks ago... --- wireless-dev.orig/net/mac80211/ieee80211.c 2007-07-26 17:39:08.567965155 +0200 +++ wireless-dev/net/mac80211/ieee80211.c 2007-07-26 17:39:34.467965155 +0200 @@ -2708,7 +2708,10 @@ static int ieee80211_open(struct net_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) - To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html