summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/dvm/rxon.c
diff options
context:
space:
mode:
authorJohannes Berg2013-03-25 18:29:27 +0100
committerJohannes Berg2013-04-16 15:29:44 +0200
commit85220d71bf3ca1ba9129e0744247ae5f61bec559 (patch)
tree5bdabc71bc5da27ee71fb1272b86809ac2f95b0d /drivers/net/wireless/iwlwifi/dvm/rxon.c
parentmac80211: support extended channel switch (diff)
downloadkernel-qcow2-linux-85220d71bf3ca1ba9129e0744247ae5f61bec559.tar.gz
kernel-qcow2-linux-85220d71bf3ca1ba9129e0744247ae5f61bec559.tar.xz
kernel-qcow2-linux-85220d71bf3ca1ba9129e0744247ae5f61bec559.zip
mac80211: support secondary channel offset in CSA
Add support for the secondary channel offset IE in channel switch announcements. This is necessary for proper handling of CSA on HT access points. For this to work it is also necessary to convert everything here to use chandef structs instead of just channels. The driver updates aren't really correct though. In particular, the TI wl18xx driver update can't possibly be right since it just ignores the new channel width for lack of firmware API. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/dvm/rxon.c')
-rw-r--r--drivers/net/wireless/iwlwifi/dvm/rxon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/dvm/rxon.c b/drivers/net/wireless/iwlwifi/dvm/rxon.c
index 085c589e7149..acbb50b5f1e8 100644
--- a/drivers/net/wireless/iwlwifi/dvm/rxon.c
+++ b/drivers/net/wireless/iwlwifi/dvm/rxon.c
@@ -1160,7 +1160,7 @@ int iwlagn_commit_rxon(struct iwl_priv *priv, struct iwl_rxon_context *ctx)
}
void iwlagn_config_ht40(struct ieee80211_conf *conf,
- struct iwl_rxon_context *ctx)
+ struct iwl_rxon_context *ctx)
{
if (conf_is_ht40_minus(conf)) {
ctx->ht.extension_chan_offset =