From: Rajkumar Manoharan Date: Tue, 7 Dec 2010 12:12:18 +0000 (+0530) Subject: ath9k: fix beacon resource related race condition X-Git-Tag: v2.6.37-rc6~14^2~14^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=884a963fa1c828a5c5fa7a46b2877dd463bfd47c;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed