]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
AP: remove ssi_signal from ap_info
authorJohannes Berg <johannes.berg@intel.com>
Mon, 5 Mar 2012 14:38:26 +0000 (16:38 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 5 Mar 2012 14:38:26 +0000 (16:38 +0200)
It is never used.

Signed-hostap: Johannes Berg <johannes.berg@intel.com>

src/ap/ap_list.c
src/ap/ap_list.h

index b4252cf14860dcfa80a6333963fc173208daaad2..165cb16a0b6530c1048e4fb0fcd646043a008d08 100644 (file)
@@ -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
index 201f6ec3812639922d3da6755dfb4036f09be150..f0b41259bda6e232dee219cc275c1b7f66045820 100644 (file)
@@ -34,7 +34,6 @@ struct ap_info {
 
        int channel;
        int datarate; /* in 100 kbps */
-       int ssi_signal;
 
        int ht_support;