diff options
author | Ping-Ke Shih <pkshih@realtek.com> | 2017-06-21 13:15:37 -0400 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2017-06-28 13:51:01 -0400 |
commit | c76ab8e754426729199448ae1749e88fbbf04dd1 (patch) | |
tree | a416e553cf33df6fac69ac1618951ee75d9ba2cd /drivers/net/wireless/realtek/rtlwifi/pci.c | |
parent | f1cb27eda3a69099c4e2c9feb0d6c7e5d6ddf668 (diff) |
rtlwifi: Fill ap_num field by driver
Check beacon and probe_resp frames to know ap_num
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Yan-Hsuan Chuang <yhchuang@realtek.com>
Cc: Birming Chiu <birming@realtek.com>
Cc: Shaofu <shaofu@realtek.com>
Cc: Steven Ting <steventing@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/realtek/rtlwifi/pci.c')
-rw-r--r-- | drivers/net/wireless/realtek/rtlwifi/pci.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/realtek/rtlwifi/pci.c b/drivers/net/wireless/realtek/rtlwifi/pci.c index a3997da72ed3..032b6317690d 100644 --- a/drivers/net/wireless/realtek/rtlwifi/pci.c +++ b/drivers/net/wireless/realtek/rtlwifi/pci.c | |||
@@ -879,6 +879,9 @@ static void _rtl_pci_rx_interrupt(struct ieee80211_hw *hw) | |||
879 | if (unicast) | 879 | if (unicast) |
880 | rtlpriv->link_info.num_rx_inperiod++; | 880 | rtlpriv->link_info.num_rx_inperiod++; |
881 | } | 881 | } |
882 | |||
883 | rtl_collect_scan_list(hw, skb); | ||
884 | |||
882 | /* static bcn for roaming */ | 885 | /* static bcn for roaming */ |
883 | rtl_beacon_statistic(hw, skb); | 886 | rtl_beacon_statistic(hw, skb); |
884 | rtl_p2p_info(hw, (void *)skb->data, skb->len); | 887 | rtl_p2p_info(hw, (void *)skb->data, skb->len); |