aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6656/main_usb.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2016-04-13 17:58:51 -0400
committerDavid S. Miller <davem@davemloft.net>2016-04-13 17:58:51 -0400
commit71bbe25d01fa4f35551ff7bffc3e03ddd3e960cd (patch)
treed32c77e506192ef0ba62a10e92aac410eccaa575 /drivers/staging/vt6656/main_usb.c
parenttipc: remove remnants of old broadcast code (diff)
parentcfg80211: remove enum ieee80211_band (diff)
downloadlinux-dev-71bbe25d01fa4f35551ff7bffc3e03ddd3e960cd.tar.xz
linux-dev-71bbe25d01fa4f35551ff7bffc3e03ddd3e960cd.zip
Merge tag 'mac80211-next-for-davem-2016-04-13' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next
Johannes Berg says: ==================== To synchronize with Kalle, here's just a big change that affects all drivers - removing the duplicated enum ieee80211_band and replacing it by enum nl80211_band. On top of that, just a small documentation update. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/staging/vt6656/main_usb.c')
-rw-r--r--drivers/staging/vt6656/main_usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c
index f9afab77b79f..fc5fe4ec6d05 100644
--- a/drivers/staging/vt6656/main_usb.c
+++ b/drivers/staging/vt6656/main_usb.c
@@ -662,7 +662,7 @@ static int vnt_config(struct ieee80211_hw *hw, u32 changed)
(conf->flags & IEEE80211_CONF_OFFCHANNEL)) {
vnt_set_channel(priv, conf->chandef.chan->hw_value);
- if (conf->chandef.chan->band == IEEE80211_BAND_5GHZ)
+ if (conf->chandef.chan->band == NL80211_BAND_5GHZ)
bb_type = BB_TYPE_11A;
else
bb_type = BB_TYPE_11G;