mwifiex: do not short circuit exit from mwifiex_set_mgmt_ies
authorJohn Linville <linville@tuxdriver.com>
Tue, 23 Jun 2015 19:04:03 +0000 (15:04 -0400)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 21 Jul 2015 13:46:49 +0000 (16:46 +0300)
commit8b2c621c9f6f6240edaf4359c3148068fff8b1c7
treec4bf39163cf72e7c866dcb7b6723a9733d78551e
parent722d26680af10bd128b5228ba23e5d11ef2256c4
mwifiex: do not short circuit exit from mwifiex_set_mgmt_ies

Without this change, the code simply exits after calling
mwifiex_uap_set_head_tail_ies, leving the call to
mwifiex_set_mgmt_beacon_data_ies as dead code.

Coverity CID #1271292

Signed-off-by: John W. Linville <linville@tuxdriver.com>
Acked-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mwifiex/ie.c