Message ID | 1330934612.3545.6.camel@jlt3.sipsolutions.net |
---|---|
State | Accepted |
Commit | c8c340a9f639da0e6e5b0b126b43cce055ab8fc5 |
Headers | show |
On Mon, Mar 05, 2012 at 09:03:32AM +0100, Johannes Berg wrote:
> It is never used.
Thanks, applied.
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;
From: Johannes Berg <johannes.berg@intel.com> It is never used. Signed-hostap: Johannes Berg <johannes.berg@intel.com> --- src/ap/ap_list.c | 4 +--- src/ap/ap_list.h | 1 - 2 files changed, 1 insertions(+), 4 deletions(-)