]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: don't drop carrier flag over suspend
authorDaniel Drake <dsd@laptop.org>
Tue, 19 Feb 2013 20:09:47 +0000 (15:09 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 22 Feb 2013 19:50:46 +0000 (14:50 -0500)
commit397e0a173b2dc8ce414172af9811adde1f56a6b5
tree92ecc282d181ec742e32ee49fc99bd2f63191813
parent364689e1e9c38dec7d4e67d502bdcdabf6e316e3
mwifiex: don't drop carrier flag over suspend

If the system suspends with mwifiex wifi powered on, and is then woken
by an ICMP ping packet, the ping response is discarded by the kernel
because the kernel incorrectly thinks there is no carrier.

I can't see any valid reason to want to report loss of carrier here,
so remove the offending code.

Fixes http://dev.laptop.org/ticket/12554

Signed-off-by: Daniel Drake <dsd@laptop.org>
Acked-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/pcie.c
drivers/net/wireless/mwifiex/sdio.c