projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rt2x00: rt2800lib: use step-by-step frequency offset adjustment on MMIO devices
[cascardo/linux.git]
/
net
/
mac80211
/
mesh_ps.c
diff --git
a/net/mac80211/mesh_ps.c
b/net/mac80211/mesh_ps.c
index
3b7bfc0
..
22290a9
100644
(file)
--- a/
net/mac80211/mesh_ps.c
+++ b/
net/mac80211/mesh_ps.c
@@
-229,6
+229,10
@@
void ieee80211_mps_sta_status_update(struct sta_info *sta)
enum nl80211_mesh_power_mode pm;
bool do_buffer;
enum nl80211_mesh_power_mode pm;
bool do_buffer;
+ /* For non-assoc STA, prevent buffering or frame transmission */
+ if (sta->sta_state < IEEE80211_STA_ASSOC)
+ return;
+
/*
* use peer-specific power mode if peering is established and the
* peer's power mode is known
/*
* use peer-specific power mode if peering is established and the
* peer's power mode is known