]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix time-is-after bug in mlme
authorBen Greear <greearb@candelatech.com>
Tue, 30 Mar 2021 23:07:49 +0000 (16:07 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 8 Apr 2021 08:14:53 +0000 (10:14 +0200)
commitd85ebbf1c35e5dcd7e5cc753f4b9d3d91c509bfa
tree83e569a218ba2fad4c32cfba618e2a1d64420b4b
parent55330353bfd82daaadbd247d777c08538cea3f91
mac80211: fix time-is-after bug in mlme

The incorrect timeout check caused probing to happen when it did
not need to happen.  This in turn caused tx performance drop
for around 5 seconds in ath10k-ct driver.  Possibly that tx drop
is due to a secondary issue, but fixing the probe to not happen
when traffic is running fixes the symptom.

Signed-off-by: Ben Greear <greearb@candelatech.com>
Fixes: 64977132c390 ("mac80211: optimize station connection monitor")
Acked-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20210330230749.14097-1-greearb@candelatech.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c