]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: using right aid value for tdls action frame
authorXinming Hu <huxm@marvell.com>
Wed, 22 Jul 2015 11:53:42 +0000 (04:53 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 6 Aug 2015 07:13:46 +0000 (10:13 +0300)
commitd13fd707409fdb402af52a2d49b770c7e2780d5c
tree1f407f35963323a980f805da3d1aef9cb17b0a0a
parent721bec4110ff4a943fc52daf1458d887e84232b2
mwifiex: using right aid value for tdls action frame

Variable pos is u8 here, so memcpy is needed to store u16 aid.
At the same time, aid should be platform independent, upper layer
utility(wpa_supplicant,etc.,) parse it as le16, so keep it le16
here.

Signed-off-by: Xinming Hu <huxm@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mwifiex/tdls.c