]> git.baikalelectronics.ru Git - kernel.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)
commitf407a14e26abb438b998c8aa01ed1478b1e212c6
treee847c63328466d8ea8a32fe58666d31bdec6f064
parentd13fd707409fdb402af52a2d49b770c7e2780d5c
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