]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: fix Tx timeout issue during suspend test
authorAmitkumar Karwar <akarwar@marvell.com>
Wed, 16 Mar 2016 14:46:16 +0000 (07:46 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 6 Apr 2016 18:27:50 +0000 (21:27 +0300)
commitc510565de8313eda021b701c093b098749876e8c
treefa61dad5af21a64a826a4185e6f5dca5bfc93476
parent4edebdae78b305165dce09b992baf4bd43ddc26b
mwifiex: fix Tx timeout issue during suspend test

Call netif_carrier_off/on while stoping/starting netdev queues.
This fixes netdev watchdog warning and ->ndo_tx_timeout() invocation
during suspend resume stress test.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Fixes: 60161b711f2ed14 ('mwifiex: Empty Tx queue during suspend')
Tested-by: Wei-Ning Huang <wnhuang@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/cfg80211.c