Zhu, Yi 60294de3af iwlwifi: fix priv->iw_mode setting when multiple vif are configured
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. The patch redefines priv->iw_mode as the
first interface mode (the same as priv->vif->type if priv->vif != NULL).
If another monitor type interface is created later, we don't change
priv->iw_mode into monitor. This way, the original interface still
works. The patch also requests mac80211 to do reassociation after we
change the Rx filter flags.

Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-11-10 15:17:36 -05:00
..
2008-10-28 17:46:02 +09:00
2008-10-31 00:56:00 -07:00
2008-10-22 01:19:39 +02:00
2008-11-01 09:49:46 -07:00
2008-10-30 15:55:47 +01:00
2008-11-02 21:40:10 +01:00
2008-11-01 09:49:46 -07:00
2008-11-01 09:50:12 -07:00
2008-10-27 17:47:26 -07:00
2008-10-21 07:48:33 -04:00
2008-11-01 09:50:12 -07:00
2008-11-06 15:43:13 -08:00
2008-11-04 08:18:19 -08:00
2008-11-06 15:41:19 -08:00
2008-11-04 08:18:19 -08:00
2008-11-01 09:49:46 -07:00
2008-11-04 08:18:19 -08:00
2008-10-28 21:47:17 +00:00