diff options
author | Luis R. Rodriguez <mcgrof@do-not-panic.com> | 2013-10-21 19:14:48 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-12-05 21:40:10 +0100 |
commit | bc0aa0691806dc30cf1a69fe50ae90cf8f752977 (patch) | |
tree | bc0556f1a74b604b53e46af804c83c12982649b8 /kernel/params.c | |
parent | ath: fix logic on ath_reg_apply_active_scan_flags() (diff) | |
download | linux-bc0aa0691806dc30cf1a69fe50ae90cf8f752977.tar.xz linux-bc0aa0691806dc30cf1a69fe50ae90cf8f752977.zip |
ath: clean up ath_reg_apply_active_scan_flags()
The routine ath_reg_apply_active_scan_flags() can be a bit
hard to read, this cleans it up by adding helpers for the
two cases of clearing IR flags or adding them. This approach
also makes no assumptions on the index of channels 12 and 13
so it should be portable accross different drivers.
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>
Diffstat (limited to 'kernel/params.c')
0 files changed, 0 insertions, 0 deletions