rtlwifi: rtl8192c: Prevent reconnect attempts if not connected
authorLarry Finger <Larry.Finger@lwfinger.net>
Mon, 18 Nov 2013 17:11:25 +0000 (11:11 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 5 Dec 2013 19:55:02 +0000 (14:55 -0500)
commit8fd77aec1a9d6f4328fc0244f21932114e066df3
treeec6bc50b4fd022e1edaf9e1ce31adc848b038793
parentac0ef8139bc4f6493b6bb560bfeb31b883b7e8ae
rtlwifi: rtl8192c: Prevent reconnect attempts if not connected

This driver has a watchdog timer that attempts to reconnect when beacon frames
are not seen for 6 seconds. This patch disables that reconnect whenever the
device has never been connected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Stable <stable@vger.kernel.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/base.c