aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wireless/iwlwifi/iwl-4965.c
diff options
context:
space:
mode:
authorZhu, Yi <yi.zhu@intel.com>2008-10-29 14:05:45 -0700
committerJohn W. Linville <linville@tuxdriver.com>2008-11-10 15:17:36 -0500
commit60294de3af99586bb4a205274d02a7c8b910c0c3 (patch)
tree5f28e0bbb7286ed379c34544e7dfa78f9d212743 /drivers/net/wireless/iwlwifi/iwl-4965.c
parenteb4779c40549f8e0dd45c9a30f279134c9a86131 (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