Felix Fietkau 1d3a84f92f mac80211: fix station rate table updates on assoc
commit 18fe0fae61252b5ae6e26553e2676b5fac555951 upstream.

If the driver uses .sta_add, station entries are only uploaded after the sta
is in assoc state. Fix early station rate table updates by deferring them
until the sta has been uploaded.

Cc: stable@vger.kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20210201083324.3134-1-nbd@nbd.name
[use rcu_access_pointer() instead since we won't dereference here]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-02-10 09:21:07 +01:00
..
2018-06-18 22:40:32 +02:00
2018-06-12 16:19:22 -07:00
2018-06-18 22:40:32 +02:00
2018-06-18 22:40:32 +02:00
2018-02-22 21:13:03 +01:00
2021-02-07 14:48:37 +01:00
2018-06-30 21:08:12 +09:00
2018-06-18 22:40:32 +02:00
2019-05-16 19:41:20 +02:00
2018-06-18 22:40:32 +02:00