summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/mac80211_hwsim.c
diff options
context:
space:
mode:
authorSenthil Balasubramanian <senthilkumar@atheros.com>2008-12-09 17:23:33 +0530
committerJohn W. Linville <linville@tuxdriver.com>2008-12-12 14:01:37 -0500
commita07d3619faeea3f540dd55f86685136f8928b4ad (patch)
treed836b56689793fe6991cbce837a3387d4ad7bb15 /drivers/net/wireless/mac80211_hwsim.c
parentb143923689fdcc8e56688f2506a11ff16e4cd20b (diff)
ath9k: BH shouldn't be enabled when hardirqs are disabled.
ath_tx_complete_buf uses a BH version of spinlock and so releasing the lock enables BH which is incorrect when called from sta_notify callback as MAC80211 disables hardirqs before the driver callback is called. As ath_tx_complete_buf is shared between user and softirq context using normal spinlock may not be appropriate. Though the proper fix would be to cleanup the context properly in the driver code, this would be an interim fix to avoid kernel warning. Signed-off-by: Senthil Balasubramanian <senthilkumar@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mac80211_hwsim.c')
0 files changed, 0 insertions, 0 deletions