iwlagn: refactor iwlagn_mac_channel_switch
authorStanislaw Gruszka <sgruszka@redhat.com>
Thu, 2 Jun 2011 14:46:20 +0000 (16:46 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 7 Jun 2011 18:44:02 +0000 (14:44 -0400)
commitf973f87ec13e82256d45e11b204a8e3fb3808635
treed18dbdf141824eb12a290c4b364fa61deb02ac03
parent70559a06657c55aeefe2f06619d3592a08cc68ac
iwlagn: refactor iwlagn_mac_channel_switch

Use less indentions and remove uneeded irq-save flags.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn.c