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)
commitbf3ca7f752d8f5009c9a83db56035566f3e313de
tree21b38b1a8705c7006dbc754d662e9c282eb386f2
parent2845fd858c55c8a05674a071384a12a19cc17dbf
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