]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: cleanup VHT cap
authorYogesh Ashok Powar <yogeshp@marvell.com>
Thu, 14 Mar 2013 01:32:47 +0000 (18:32 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 18 Mar 2013 20:38:29 +0000 (16:38 -0400)
commite70a73699e2a721c76f6fb8281f8567c25a84ccc
treecb92251199ceb2fa1649983c69531dcd0400dc92
parentefbd7771c82d5e05ba1693605e2df6ea4ce00315
mwifiex: cleanup VHT cap

Firmware returned VHT cap has the same format that cfg80211
expects. There is no need to parse the vht cap from the firmware
and then set it to ieee80211_sta_vht_cap. Just copying is
sufficient.

Signed-off-by: Yogesh Ashok Powar <yogeshp@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/cfg80211.c
drivers/net/wireless/mwifiex/fw.h