Reinette Chatre wrote: > From: Zhu, Yi <yi.zhu@xxxxxxxxx> > > mac80211 supports multiple virtual interfaces for a single device. For > example, a managed interface (wlan0) and a monitor interface (mon0) can > exist at the same time. Thus priv->iw_mode is not sufficient to track > the wireless mode any more. This example is not correct, mac80211 will only support multiple virtual interfaces when the driver allows this via add_interface (which I don't think yours does) and it will *never* tell you about monitor interfaces at all except by way of configuring the filter differently. Therefore, all the "is monitor" checks in iwlwifi are pretty pointless unless you really want to have differing behaviour between "monitor + something" and "just monitor"? johannes -- 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