rtlwifi: rtl8192cu: Fix false loss of AP indication
authorLarry Finger <Larry.Finger@lwfinger.net>
Thu, 25 Apr 2013 14:50:28 +0000 (09:50 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 26 Apr 2013 12:42:23 +0000 (08:42 -0400)
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>
drivers/net/wireless/rtlwifi/usb.c

index 83915dc..76732b0 100644 (file)
@@ -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