From patchwork Mon Mar 5 08:03:32 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: AP: remove ssi_signal from ap_info From: Johannes Berg X-Patchwork-Id: 144618 Message-Id: <1330934612.3545.6.camel@jlt3.sipsolutions.net> To: hostap@lists.shmoo.com Date: Mon, 05 Mar 2012 09:03:32 +0100 From: Johannes Berg It is never used. Signed-hostap: Johannes Berg --- 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;