Skip to contentSkip to conversation

ath: fix code readability in regd.c

PATCH In review Luis de Bethencourt 2 participants 3 messages Mar 30, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 2/2 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.

---
 drivers/net/wireless/ath/regd.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/net/wireless/ath/regd.c +2 -1
index 04abd1f..d5c2332 100644
@@ -51,6 +51,7 @@
 
 #define ATH9K_5GHZ_ALL		ATH9K_5GHZ_5150_5350, \
 				ATH9K_5GHZ_5470_5850
+
 /* This one skips what we call "mid band" */
 #define ATH9K_5GHZ_NO_MIDBAND	ATH9K_5GHZ_5150_5350, \
 				ATH9K_5GHZ_5725_5850
@@ -361,7 +362,7 @@ EXPORT_SYMBOL(ath_reg_notifier_apply);
 
 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;
 
 	if (rd & COUNTRY_ERD_FLAG) {
Signature · 1 line
1.6.3.3
Acked-by on v1 2/2
#1 lore raw
Quoted 4 lines · Luis de Bethencourt

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.

You can drop netdev and linux-kernel from future linux-wireless e-mails like this one.

Luis

#2 lore raw
Quoted 6 lines · Luis R. Rodriguez
Quoted 4 lines · Luis de Bethencourt

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.

Quoted 7 lines

You can drop netdev and linux-kernel from future linux-wireless e-mails like this one.

 Luis

OK. Will do.

Luis