]> git.karo-electronics.de Git - linux-beck.git/commitdiff
mac80211: remove last_probe_resp from bss
authorJohannes Berg <johannes.berg@intel.com>
Tue, 29 Jan 2013 21:33:30 +0000 (22:33 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 31 Jan 2013 13:06:32 +0000 (14:06 +0100)
We track this, but never use it, so we can
just remove it.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ieee80211_i.h
net/mac80211/scan.c

index 5ce0b6b6e1824babdfe63321c2e17b0554d495ee..12666c2ed49e800175d00b58eeb950466a494cb3 100644 (file)
@@ -95,8 +95,6 @@ struct ieee80211_bss {
        bool wmm_used;
        bool uapsd_supported;
 
-       unsigned long last_probe_resp;
-
 #ifdef CONFIG_MAC80211_MESH
        u8 *mesh_id;
        size_t mesh_id_len;
index 607684c47d558a4a3d67d50cd72c617d8033396a..f69a1b9cb1315ab21bd266742c2feaac00d23bce 100644 (file)
@@ -146,9 +146,6 @@ ieee80211_bss_info_update(struct ieee80211_local *local,
                        bss->valid_data |= IEEE80211_BSS_VALID_WMM;
        }
 
-       if (!beacon)
-               bss->last_probe_resp = jiffies;
-
        return bss;
 }