diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-06-20 16:11:00 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-06-25 10:56:16 -0400 |
commit | 99ade2597e3f7f0ad463c489aaccd6cc605e242c (patch) | |
tree | a644c9c689cded6ebdb46953180af82d7d3fcdd4 /drivers/net/spider_net.c | |
parent | 2f9ec47d0954f9d2e5a00209c2689cbc477a8c89 (diff) |
rt2x00: Fix unbalanced mutex locking
The usb_cache_mutex was not correctly released
under all circumstances. Both rt73usb as rt2500usb
didn't release the mutex under certain conditions
when the register access failed. Obviously such
failure would lead to deadlocks.
In addition under similar circumstances when the
bbp register couldn't be read the value must be
set to 0xff to indicate that the value is wrong.
This too didn't happen under all circumstances.
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/spider_net.c')
0 files changed, 0 insertions, 0 deletions