ath5k: Cleanup opmode setting logic.
authorBen Greear <greearb@candelatech.com>
Wed, 10 Nov 2010 19:43:51 +0000 (11:43 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 16 Nov 2010 21:37:07 +0000 (16:37 -0500)
commit7afbb2f07028183f50ae4f7ce4dab1f32b36cf48
tree65973745adb9014a3dd59fc9d2feed41cbeef131
parent6ee63f55c7754462a45315ac93027a1df60667c9
ath5k: Cleanup opmode setting logic.

An earlier review suggested moving the code in a small
method that was only called once inline.  This patch
accomplishes that.

Signed-off-by: Ben Greear <greearb@candelatech.com>
Acked-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/base.c