提交 cfcfe446 编写于 作者: L Luis de Bethencourt 提交者: John W. Linville

ath: fix code readability in regd.c

This is a patch to the ath/regd.c file that fixes two code
readability issues. A space between to separate two defines
and the indentation inside the ath_redg_is_eeprom_valid
function.
Signed-off-by: NLuis de Bethencourt <luisbg@ubuntu.com>
Acked-by: NLuis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 0a4528e2
...@@ -51,6 +51,7 @@ ...@@ -51,6 +51,7 @@
#define ATH9K_5GHZ_ALL ATH9K_5GHZ_5150_5350, \ #define ATH9K_5GHZ_ALL ATH9K_5GHZ_5150_5350, \
ATH9K_5GHZ_5470_5850 ATH9K_5GHZ_5470_5850
/* This one skips what we call "mid band" */ /* This one skips what we call "mid band" */
#define ATH9K_5GHZ_NO_MIDBAND ATH9K_5GHZ_5150_5350, \ #define ATH9K_5GHZ_NO_MIDBAND ATH9K_5GHZ_5150_5350, \
ATH9K_5GHZ_5725_5850 ATH9K_5GHZ_5725_5850
...@@ -361,7 +362,7 @@ EXPORT_SYMBOL(ath_reg_notifier_apply); ...@@ -361,7 +362,7 @@ EXPORT_SYMBOL(ath_reg_notifier_apply);
static bool ath_regd_is_eeprom_valid(struct ath_regulatory *reg) static bool ath_regd_is_eeprom_valid(struct ath_regulatory *reg)
{ {
u16 rd = ath_regd_get_eepromRD(reg); u16 rd = ath_regd_get_eepromRD(reg);
int i; int i;
if (rd & COUNTRY_ERD_FLAG) { if (rd & COUNTRY_ERD_FLAG) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册