Skip to content
Commit 5a9f7b04 authored by Johannes Berg's avatar Johannes Berg Committed by John W. Linville
Browse files

mac80211: use separate spinlock for sta flags



David Ellingsworth posted a bug that was only noticable on UP/NO-PREEMPT
and Michael correctly analysed it to be a spin_lock_bh() section within
a spin_lock_irqsave() section. This adds a separate spinlock for the
sta_info flags to fix that issue and avoid having to take much care
about where the sta flag manipulation functions are called.

Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
Reported-By: default avatarDavid Ellingsworth <david@identd.dyndns.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 135a2110
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment