mwifiex: cleanup in PCIe flr code path
authorXinming Hu <huxm@marvell.com>
Wed, 14 Dec 2016 14:10:48 +0000 (19:40 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 12 Jan 2017 14:49:17 +0000 (16:49 +0200)
commitec750f1082d7cc08ac6d0173e6e377d568c5b2b5
tree529f0d2a51d6403aecd70582df027a998fb38e0c
parent8750ab6236b0f54db4be6406bb2a4a71f908f049
mwifiex: cleanup in PCIe flr code path

adapter and card variables don't get freed during PCIe function level
reset. "adapter->ext_scan" variable need not be re-initialized.
fw_name and tx_buf_size initialization is moved to pcie specific code
so that mwifiex_reinit_sw() can be used by SDIO.

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/marvell/mwifiex/main.c
drivers/net/wireless/marvell/mwifiex/pcie.c