From c8c340a9f639da0e6e5b0b126b43cce055ab8fc5 Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Mon, 5 Mar 2012 16:38:26 +0200 Subject: [PATCH] AP: remove ssi_signal from ap_info It is never used. Signed-hostap: Johannes Berg --- src/ap/ap_list.c | 4 +--- src/ap/ap_list.h | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/ap/ap_list.c b/src/ap/ap_list.c index b4252cf14..165cb16a0 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 201f6ec38..f0b41259b 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;