]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix regression in sta connection monitor
authorFelix Fietkau <nbd@nbd.name>
Sun, 27 Sep 2020 10:56:05 +0000 (12:56 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 28 Sep 2020 12:19:55 +0000 (14:19 +0200)
commite3f25908b0b2e7e1d04d35ce46c9b9d4e4519b43
treeb79c051c8fc678fef2d4cd5bc881ad8ea134d483
parent148fe295b7d9d892b2b0f47070233ccdc70c83cd
mac80211: fix regression in sta connection monitor

When a frame was acked and probe frames were sent, the connection monitoring
needs to be reset, otherwise it will keep probing until the connection is
considered dead, even though frames have been acked in the mean time.

Fixes: 9abf4e49830d ("mac80211: optimize station connection monitor")
Reported-by: Georgi Valkov <gvalkov@abv.bg>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20200927105605.97954-1-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c
net/mac80211/status.c