staging: vt6656: [bug] Fix missing spin lock in iwctl_siwpower.
authorMalcolm Priestley <tvboxspy@gmail.com>
Wed, 15 May 2013 00:44:25 +0000 (01:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2013 23:27:38 +0000 (16:27 -0700)
commit91ec61f8f01cf32868e2ed2fa96a299e77964055
tree26c2ce6878232d4b738ee52e1a877e97a6bf0300
parent2ea86d5ac6f5c850d719aa79de12c9af53bb244b
staging: vt6656: [bug] Fix missing spin lock in iwctl_siwpower.

Fixes occasional dead lock on power up / down.

spin_lock_irq is used because of unlocking with spin_unlock_irq
elsewhere in the driver.

Only relevant to kernels 3.8 and later when command was
transferred to the iw_handler.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Cc: stable@vger.kernel.org # 3.8+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/iwctl.c