]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mwifiex: fix command timeout for PCIe chipsets
authorZhaoyang Liu <liuzy@marvell.com>
Wed, 22 Jul 2015 11:53:43 +0000 (04:53 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 6 Aug 2015 07:13:50 +0000 (10:13 +0300)
commit398750992ebe8a3f26d9c1c978911b55c2b2ff8b
treee847c63328466d8ea8a32fe58666d31bdec6f064
parent3afafd6dcc0cb894a2a6cc1a42bb6f84a0519f16
mwifiex: fix command timeout for PCIe chipsets

When WLAN interface is up and running, driver unload and
load was causing command timeout error.

We enable Rx data by updating RX ring read pointer in
init_fw_port(). It should be done when FW is completely
intialialised. Command timeout is fixed in this patch by
moving init_fw_port() call to mwifiex_init_fw_complete().

Signed-off-by: Zhaoyang Liu <liuzy@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mwifiex/init.c
drivers/net/wireless/mwifiex/util.c