diff options
author | Johannes Berg <johannes.berg@intel.com> | 2010-01-21 07:32:20 -0800 |
---|---|---|
committer | Reinette Chatre <reinette.chatre@intel.com> | 2010-03-09 16:05:06 -0800 |
commit | b2f30e8bdd8ef5f3b5a7ef9146509585a15347d3 (patch) | |
tree | 4b2dea02a2fb4d1b47380e21e680c9a1106afda4 /drivers/net/wireless/iwlwifi/iwl-core.c | |
parent | 4a02886bae3f2362d4e6efc6fb25dd3507bde8b9 (diff) | |
download | kernel_samsung_smdk4412-b2f30e8bdd8ef5f3b5a7ef9146509585a15347d3.zip kernel_samsung_smdk4412-b2f30e8bdd8ef5f3b5a7ef9146509585a15347d3.tar.gz kernel_samsung_smdk4412-b2f30e8bdd8ef5f3b5a7ef9146509585a15347d3.tar.bz2 |
iwlwifi: remove IBSS channel sanity check
mac80211 will always enforce using a channel
that the driver allowed for IBSS use.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-core.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-core.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c index 8e8f528..4365e85 100644 --- a/drivers/net/wireless/iwlwifi/iwl-core.c +++ b/drivers/net/wireless/iwlwifi/iwl-core.c @@ -2436,15 +2436,6 @@ int iwl_mac_config(struct ieee80211_hw *hw, u32 changed) goto set_ch_out; } - if (priv->iw_mode == NL80211_IFTYPE_ADHOC && - !is_channel_ibss(ch_info)) { - IWL_ERR(priv, "channel %d in band %d not " - "IBSS channel\n", - conf->channel->hw_value, conf->channel->band); - ret = -EINVAL; - goto set_ch_out; - } - spin_lock_irqsave(&priv->lock, flags); /* Configure HT40 channels */ |