]> 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)
commit2f67b41b0cc1d59fbf0c1e3d963650c4be4c75ae
treeb79c051c8fc678fef2d4cd5bc881ad8ea134d483
parent198b622bd25a5d52ef558e6e8abb5805ee679cb6
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: 87b7fa6fb04c ("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