diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-06-10 16:50:29 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-06-10 13:28:41 -0400 |
commit | 2f0accc13520b2644b85f80aedce10d10d88b0ca (patch) | |
tree | 7c5ce603af5b3e3e738737f464684ce121cc7fdd /crypto/crc32c.c | |
parent | 4e751843d406a4d0471c207872b9e24957de8357 (diff) |
cfg80211: fix rfkill locking problem
rfkill currently requires a global lock within the
rfkill_register() function, and holds that lock over
calls to the set_block() methods. This means that we
cannot hold a lock around rfkill_register() that we
also require in set_block(), directly or indirectly.
Fix cfg80211 to register rfkill outside the block
locked by its global lock. Much of what cfg80211 does
in the locked block doesn't need to be locked anyway.
Reported-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'crypto/crc32c.c')
0 files changed, 0 insertions, 0 deletions