diff options
author | Zhu, Yi <yi.zhu@intel.com> | 2008-10-29 14:05:45 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-11-10 15:17:36 -0500 |
commit | 60294de3af99586bb4a205274d02a7c8b910c0c3 (patch) | |
tree | 5f28e0bbb7286ed379c34544e7dfa78f9d212743 /drivers/net/wireless/iwlwifi/iwl-4965.c | |
parent | eb4779c40549f8e0dd45c9a30f279134c9a86131 (diff) |
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>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-4965.c')
0 files changed, 0 insertions, 0 deletions