aboutsummaryrefslogtreecommitdiff
path: root/arch/sparc/include/asm/bugs.h
diff options
context:
space:
mode:
authorJohannes Berg <[email protected]>2009-11-19 14:29:39 +0100
committerJohn W. Linville <[email protected]>2009-11-19 11:08:39 -0500
commitceb99fe071eb688255798d89be337affffa2b103 (patch)
tree443cdf6d6fffab53db16006e44fd6506d814fd86 /arch/sparc/include/asm/bugs.h
parent8ade00824607fcfa8842572012d4393b40a74a94 (diff)
mac80211: fix resume
When mac80211 resumes, it currently first sets suspended to false so the driver can start doing things and we can receive frames. However, if we actually receive frames then it can end up starting some work which adds timers and then later runs into a BUG_ON in the timer code because it tries add_timer() on a pending timer. Fix this by keeping track of the resuming process by introducing a new variable 'resuming' which gets set to true early on instead of setting 'suspended' to false, and allow queueing work but not receiving frames while resuming. Reported-by: Maxim Levitsky <[email protected]> Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'arch/sparc/include/asm/bugs.h')
0 files changed, 0 insertions, 0 deletions