]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: remove redundant initialization for bss_descriptor
authorBing Zhao <bzhao@marvell.com>
Fri, 12 Apr 2013 17:34:18 +0000 (10:34 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 22 Apr 2013 19:38:36 +0000 (15:38 -0400)
commitb0092f2cb0ce808d21d19a31685e6883673bb59f
tree6c6706b2006fe66980d0ea451d64b685fffe80c0
parentac28224b64009547b4c3237172981d31f4fd8480
mwifiex: remove redundant initialization for bss_descriptor

Initialization of bss_descriptor is unnecessary as the entire
structure will be overwritten by a memcpy followed by.

Initialize disable_11ac flag properly by setting it to true in
mwifiex_fill_new_bss_desc().

Reported-by: Doug Anderson <dianders@chromium.org>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: Yogesh Ashok Powar <yogeshp@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/scan.c
drivers/net/wireless/mwifiex/sta_ioctl.c