mac80211: remove redundant rssi information in scan results
PATCH 1/1 mac80211: remove redundant rssi information in scan results
mac80211: remove redundant rssi information in scan results
From: Michael Wu <[email protected]>
rssi is already reported in IWEVQUAL. Remove the custom event that also reported rssi.
Signed-off-by Michael Wu <[email protected]>
---
net/mac80211/ieee80211_sta.c | 7 ------- 1 files changed, 0 insertions(+), 7 deletions(-)
net/mac80211/ieee80211_sta.c +0 -7
@@ -3047,13 +3047,6 @@ ieee80211_sta_scan_result(struct net_device *dev,memset (&iwe,0 ,sizeof (iwe)); iwe.cmd =IWEVCUSTOM ; -sprintf (buf,"rssi=%d" , bss->rssi); - iwe.u.data.length =strlen (buf); - current_ev =iwe_stream_add_point (current_ev, end_buf, &iwe, - buf); - -memset (&iwe,0 ,sizeof (iwe)); - iwe.cmd =IWEVCUSTOM ;sprintf (buf,"capab=0x%04x" , bss->capability); iwe.u.data.length =strlen (buf); current_ev = iwe_stream_add_point(current_ev, end_buf, &iwe,