diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-11-07 18:37:37 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-10 16:21:12 -0500 |
commit | 8f611288c8db0c89447856c4c8970bb7ee535448 (patch) | |
tree | 237d62b556e15750acb589b7ad7db25eb873fcd5 /drivers/ide | |
parent | d8e235227899474976302cf272e5c2b756eb32de (diff) | |
download | op-kernel-dev-8f611288c8db0c89447856c4c8970bb7ee535448.zip op-kernel-dev-8f611288c8db0c89447856c4c8970bb7ee535448.tar.gz |
b43: work around a locking issue in ->set_tim()
ops->set_tim() must be atomic, so b43 trying to acquire a mutex leads
to a kernel crash. This patch trades an easy to trigger crash in AP
mode for an unlikely race condition. According to Michael, the real
fix would be to allow set_tim() to sleep, since b43 is not the only
driver that needs to sleep in all callbacks.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/ide')
0 files changed, 0 insertions, 0 deletions