Skip to contentSkip to conversation

mac80211: remove redundant rssi information in scan results

PATCH New Michael Wu 1 participant 1 message Apr 14, 2007 mac80211

lore
Share & tools
lore

Michael Wu

author
#0 lore raw

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.

---

 net/mac80211/ieee80211_sta.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
net/mac80211/ieee80211_sta.c +0 -7
index 2678b95..1648c76 100644
@@ -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,