summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rtlwifi/usb.c
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2013-11-18 18:11:31 +0100
committerJohn W. Linville <linville@tuxdriver.com>2013-12-05 20:55:12 +0100
commit65b9cc97c6852fae19dc5c7745e9abc8dd380aad (patch)
tree55d994fef379586bf402e6368c5d9e70ca32fdb8 /drivers/net/wireless/rtlwifi/usb.c
parentrtlwifi: Increase the RX queue length for USB drivers (diff)
downloadlinux-65b9cc97c6852fae19dc5c7745e9abc8dd380aad.tar.xz
linux-65b9cc97c6852fae19dc5c7745e9abc8dd380aad.zip
rtlwifi: Update beacon statistics for USB driver
The USB drivers were not updating the beacon statistics, which led to false beacon loss indications. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Cc: Stable <stable@vger.kernel.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/usb.c')
-rw-r--r--drivers/net/wireless/rtlwifi/usb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/rtlwifi/usb.c b/drivers/net/wireless/rtlwifi/usb.c
index 767b6832bbde..4933f02ce1d5 100644
--- a/drivers/net/wireless/rtlwifi/usb.c
+++ b/drivers/net/wireless/rtlwifi/usb.c
@@ -481,6 +481,8 @@ static void _rtl_usb_rx_process_agg(struct ieee80211_hw *hw,
if (unicast)
rtlpriv->link_info.num_rx_inperiod++;
}
+ /* static bcn for roaming */
+ rtl_beacon_statistic(hw, skb);
}
}