]> 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)
commit7ceefcb2a310631e67bc4ffb69d8e1313f6aa627
tree92ecc282d181ec742e32ee49fc99bd2f63191813
parentea1750f4b55cf00fa2a68f0b9626c653cb4b16e2
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