diff options
author | John W. Linville <linville@tuxdriver.com> | 2011-06-28 13:53:32 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-06-28 13:56:21 -0400 |
commit | 3be3fdb58ad22f67c5fd12548c88cefe3f726588 (patch) | |
tree | 0c5c4e509c37098671df55a20b7e9aadb3d74db8 /drivers/net/wireless/iwlwifi/iwl-core.c | |
parent | 77b7023afe93b5e3bdcf2c0faaa5e5caafb6ef44 (diff) | |
parent | 5ee0a58d8ca443e80ed8712c86c9938360b79cac (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
Conflicts:
drivers/net/wireless/iwlwifi/iwl-tx.c
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-core.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c index f0eabbc07c9..7f16d120305 100644 --- a/drivers/net/wireless/iwlwifi/iwl-core.c +++ b/drivers/net/wireless/iwlwifi/iwl-core.c @@ -1704,6 +1704,7 @@ int iwl_mac_change_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct iwl_rxon_context *ctx = iwl_rxon_ctx_from_vif(vif); struct iwl_rxon_context *bss_ctx = &priv->contexts[IWL_RXON_CTX_BSS]; struct iwl_rxon_context *tmp; + enum nl80211_iftype newviftype = newtype; u32 interface_modes; int err; @@ -1759,7 +1760,7 @@ int iwl_mac_change_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif, /* success */ iwl_teardown_interface(priv, vif, true); - vif->type = newtype; + vif->type = newviftype; vif->p2p = newp2p; err = iwl_setup_interface(priv, ctx); WARN_ON(err); |