aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/cfg.c
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2011-02-07 16:44:34 -0500
committerJohn W. Linville <linville@tuxdriver.com>2011-02-09 16:09:45 -0500
commit4d51e149a6231ea9cc210795cbc358a7c9a8e016 (patch)
tree94e929d18145e4873c1fc67b3bb583ebd795e765 /net/mac80211/cfg.c
parent8c79a61095936f81cb05e99062185cb987d524ab (diff)
mac80211: Properly set work-item channel-type.
Some were indirectly set to NO_HT (zero), but I think it's better to explicitly set it in case the enum ever changes. In cfg.c, it seems the channel-type was just ignored (and thus always set to NO_HT). Signed-off-by: Ben Greear <greearb@candelatech.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r--net/mac80211/cfg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index 845c76d58d25..f7a1f08ec3e0 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -1862,6 +1862,7 @@ static int ieee80211_mgmt_tx(struct wiphy *wiphy, struct net_device *dev,
1862 1862
1863 wk->type = IEEE80211_WORK_OFFCHANNEL_TX; 1863 wk->type = IEEE80211_WORK_OFFCHANNEL_TX;
1864 wk->chan = chan; 1864 wk->chan = chan;
1865 wk->chan_type = channel_type;
1865 wk->sdata = sdata; 1866 wk->sdata = sdata;
1866 wk->done = ieee80211_offchan_tx_done; 1867 wk->done = ieee80211_offchan_tx_done;
1867 wk->offchan_tx.frame = skb; 1868 wk->offchan_tx.frame = skb;