From: Larry Finger Date: Mon, 18 Nov 2013 17:11:31 +0000 (-0600) Subject: rtlwifi: Update beacon statistics for USB driver X-Git-Tag: firefly_0821_release~3679^2~3013 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a4b29f1bd1a0a56a48f00c5737079f15826b441b;p=firefly-linux-kernel-4.4.55.git rtlwifi: Update beacon statistics for USB driver commit 65b9cc97c6852fae19dc5c7745e9abc8dd380aad upstream. The USB drivers were not updating the beacon statistics, which led to false beacon loss indications. Signed-off-by: Larry Finger Signed-off-by: John W. Linville Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/net/wireless/rtlwifi/usb.c b/drivers/net/wireless/rtlwifi/usb.c index 1feebdc92f41..1add4d095626 100644 --- a/drivers/net/wireless/rtlwifi/usb.c +++ b/drivers/net/wireless/rtlwifi/usb.c @@ -477,6 +477,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); } }