ath: move the channel for ath_reg_apply_beaconing_flags() into helper
authorLuis R. Rodriguez <mcgrof@do-not-panic.com>
Mon, 21 Oct 2013 17:14:51 +0000 (19:14 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 5 Dec 2013 20:44:54 +0000 (15:44 -0500)
commit07782d94d90b9ab94a97b1a1841575251484e5bb
tree60d56fd02a71efff3252c6e94037ef1424c449ad
parent6c3af5888eb1df139c81bf74024f5d63ab336b04
ath: move the channel for ath_reg_apply_beaconing_flags() into helper

While at it convert this into a switch statement, this
makes it easier and manage.

Cc: smihir@qti.qualcomm.com
Cc: tushnimb@qca.qualcomm.com
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/regd.c