iwlegacy: fix up brokenness caused by cleanup
authorDan Carpenter <error27@gmail.com>
Wed, 15 Jun 2011 13:10:10 +0000 (16:10 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 17 Jun 2011 18:22:24 +0000 (14:22 -0400)
commita6f0f048875a07b2926c075744eb5edc41bc3c1d
treead96a48d760f565677e3eff8a3d5cc2e41a253cc
parentd4bb17c4bed70892ea8b749a843a516424ba5638
iwlegacy: fix up brokenness caused by cleanup

Patch 7f1f9742514 "iwlegacy: refactor iwl4965_mac_channel_switch"
reversed a test and also it changed a spin_lock_irq() to
spin_lock().  I assume the spin_lock change was a mistake because
the unlock was left as spin_unlock_irq().

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlegacy/iwl4965-base.c