]> asedeno.scripts.mit.edu Git - linux.git/commit
cfg80211: give all multi-BSSID BSS entries the same timestamp
authorJohannes Berg <johannes.berg@intel.com>
Wed, 3 Jul 2019 13:38:23 +0000 (15:38 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 26 Jul 2019 11:31:46 +0000 (13:31 +0200)
commit60d7dfea00e14d87bdfd94cb7cca1f7592069fd4
tree62fbad7ba390f81bb9d78ed1bf4945d34f428646
parentb0d1d7ffc55571185e626a6ab2983400fc493cc2
cfg80211: give all multi-BSSID BSS entries the same timestamp

If we just read jiffies over and over again, a non-transmitting
entry may have a newer timestamp than the transmitting one,
leading to possible confusion on expiry. Give them all the same
timestamp when creating them.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Reviewed-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Link: https://lore.kernel.org/r/20190703133823.10530-3-johannes@sipsolutions.net
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/scan.c