From: Luis R. Rodriguez Date: Mon, 21 Oct 2013 17:14:48 +0000 (+0200) Subject: ath: clean up ath_reg_apply_active_scan_flags() X-Git-Tag: v3.14-rc1~94^2~601^2^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc0aa0691806dc30cf1a69fe50ae90cf8f752977;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed