diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-01-29 22:33:30 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-01-31 14:06:32 +0100 |
commit | ce9877c0cd68f52e1818f0e175fc7b2f85b0e655 (patch) | |
tree | ca3cca5267cb4dec6f635d77c979946a954b86ae /net/mac80211 | |
parent | c65dd1477b6fe5971489dd8b6e28a07ec277fdd6 (diff) | |
download | lwn-ce9877c0cd68f52e1818f0e175fc7b2f85b0e655.tar.gz lwn-ce9877c0cd68f52e1818f0e175fc7b2f85b0e655.zip |
mac80211: remove last_probe_resp from bss
We track this, but never use it, so we can
just remove it.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 2 | ||||
-rw-r--r-- | net/mac80211/scan.c | 3 |
2 files changed, 0 insertions, 5 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 5ce0b6b6e182..12666c2ed49e 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h @@ -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; diff --git a/net/mac80211/scan.c b/net/mac80211/scan.c index 607684c47d55..f69a1b9cb131 100644 --- a/net/mac80211/scan.c +++ b/net/mac80211/scan.c @@ -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; } |