]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: correct bss_mode check while appending vht operation IE
authorBing Zhao <bzhao@marvell.com>
Sat, 20 Apr 2013 00:44:43 +0000 (17:44 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 22 Apr 2013 19:20:28 +0000 (15:20 -0400)
commit01d1da26366f4bbf17484a8ea7f66c045d68a44f
tree4fb777d501a6da2d4aff578a666aeaee3364bc80
parentf4ae9577a6ff681a3b26aeb0ee9a6ad12af7bd2e
mwifiex: correct bss_mode check while appending vht operation IE

priv->bss_mode uses NL80211_IFTYPE_* definitions.
HostCmd_BSS_MODE_IBSS is used in ad-hoc start/join command between
driver and firmware.

Coincidentally both HostCmd_BSS_MODE_IBSS and NL80211_IFTYPE_STATION
are defined as 2. That explains why nobody complained.

Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/11ac.c