]> git.baikalelectronics.ru Git - kernel.git/commit
mwl8k: do not free unrequested irq
authorBrian Cavagnolo <brian@cozybit.com>
Wed, 6 Apr 2011 08:48:46 +0000 (14:18 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 7 Apr 2011 18:40:13 +0000 (14:40 -0400)
commitd5b8a7d3da30d9f43ac37223ecfd6e7b18afa034
tree21b38b1a8705c7006dbc754d662e9c282eb386f2
parentede818765727849e4fde9c14eacf2e61ae1e25ec
mwl8k: do not free unrequested irq

When the mwl8k driver attempts and fails to switch from sta to ap
firmware (or vice-versa) in the mwl8k_add_interface routine, the
mwl8k_stop routine will be called. This routine must not attempt
to free the irq if it was not requested.

Signed-off-by: Brian Cavagnolo <brian@cozybit.com>
Signed-off-by: Nishant Sarmukadam <nishants@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwl8k.c