diff options
author | Rajkumar Manoharan <rmanoharan@atheros.com> | 2010-12-07 17:42:18 +0530 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-12-07 14:57:06 -0500 |
commit | 884a963fa1c828a5c5fa7a46b2877dd463bfd47c (patch) | |
tree | a44694ceaea70ed4beb362bac3ac6b59054b063a /drivers/net/wireless/orinoco | |
parent | 38852b20c8b6d97618204ac64abbf14f0080393e (diff) |
ath9k: fix beacon resource related race condition
The beacon tasklet is accesssing the bslot info for beacon generation.
Meanwhile the same slot can be freed on interface deletion.
Current the remove_interface disables the beacon alert after freeing the slot.
This may leads to null pointer access.
This patch disables SWBA and kills the beacon tasklet to prevent access
to the slot to be freed. After releasing the slot, swba will be enabled again
upon the availablity of beaconing interfaces.
Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/orinoco')
0 files changed, 0 insertions, 0 deletions