[PATCH] AP: remove ssi_signal from ap_info

Johannes Berg johannes at sipsolutions.net
Mon Mar 5 03:03:32 EST 2012


From: Johannes Berg <johannes.berg at intel.com>

It is never used.

Signed-hostap: Johannes Berg <johannes.berg at intel.com>
---
 src/ap/ap_list.c |    4 +---
 src/ap/ap_list.h |    1 -
 2 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/src/ap/ap_list.c b/src/ap/ap_list.c
index b4252cf..165cb16 100644
--- a/src/ap/ap_list.c
+++ b/src/ap/ap_list.c
@@ -289,10 +289,8 @@ void ap_list_process_beacon(struct hostapd_iface *iface,
 	ap->num_beacons++;
 	os_get_time(&now);
 	ap->last_beacon = now.sec;
-	if (fi) {
-		ap->ssi_signal = fi->ssi_signal;
+	if (fi)
 		ap->datarate = fi->datarate;
-	}
 
 	if (!new_ap && ap != iface->ap_list) {
 		/* move AP entry into the beginning of the list so that the
diff --git a/src/ap/ap_list.h b/src/ap/ap_list.h
index 201f6ec..f0b4125 100644
--- a/src/ap/ap_list.h
+++ b/src/ap/ap_list.h
@@ -34,7 +34,6 @@ struct ap_info {
 
 	int channel;
 	int datarate; /* in 100 kbps */
-	int ssi_signal;
 
 	int ht_support;
 
-- 
1.7.6.3





More information about the HostAP mailing list