commit | 0648f3a4b0e9598d75e8f68f0e20874239c2cb95 | [log] [tgz] |
---|---|---|
author | Bing Zhao <bzhao@marvell.com> | Fri Apr 19 17:44:43 2013 -0700 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Apr 22 15:20:28 2013 -0400 |
tree | 4fb777d501a6da2d4aff578a666aeaee3364bc80 | |
parent | d033d3a6b16cc0bbd9defaa048c65cbef9feab14 [diff] |
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>