summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/rtlwifi
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2013-04-25 18:50:28 +0400
committerJohn W. Linville <linville@tuxdriver.com>2013-04-26 16:42:23 +0400
commitcc0446bfeb3a9038c881db77d30c68a2beb4fa60 (patch)
tree3b74cadd6ce0fb10350dba6dcb23dc85d2283e1e /drivers/net/wireless/rtlwifi
parentd1497f21056ca1d8ad11f1cd9734bbe9e67c5b95 (diff)
downloadlinux-cc0446bfeb3a9038c881db77d30c68a2beb4fa60.tar.xz
rtlwifi: rtl8192cu: Fix false loss of AP indication
A major change in the rtlwifi family recently added code to detect when there is loss of AP signals. One critical statement needed for the USB driver was missed. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtlwifi')
-rw-r--r--drivers/net/wireless/rtlwifi/usb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/rtlwifi/usb.c b/drivers/net/wireless/rtlwifi/usb.c
index 83915dcd0e58..76732b0cd221 100644
--- a/drivers/net/wireless/rtlwifi/usb.c
+++ b/drivers/net/wireless/rtlwifi/usb.c
@@ -521,6 +521,9 @@ static void _rtl_usb_rx_process_noagg(struct ieee80211_hw *hw,
rtlpriv->link_info.num_rx_inperiod++;
}
+ /* static bcn for roaming */
+ rtl_beacon_statistic(hw, skb);
+
if (likely(rtl_action_proc(hw, skb, false)))
ieee80211_rx(hw, skb);
else