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)
commit43283febfdd6ce2ca9e76982c459a03524ef9755
treecb92251199ceb2fa1649983c69531dcd0400dc92
parent345fb3f8efe5a4bf4f0e34e0a988b1482cbe9aa2
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