Skip to content

Commit cfcfe44

Browse files
luisbglinvjw
authored andcommitted
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: Luis de Bethencourt <luisbg@ubuntu.com> Acked-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
1 parent 0a4528e commit cfcfe44

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • drivers/net/wireless/ath

‎drivers/net/wireless/ath/regd.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151

5252
#define ATH9K_5GHZ_ALL ATH9K_5GHZ_5150_5350, \
5353
ATH9K_5GHZ_5470_5850
54+
5455
/* This one skips what we call "mid band" */
5556
#define ATH9K_5GHZ_NO_MIDBAND ATH9K_5GHZ_5150_5350, \
5657
ATH9K_5GHZ_5725_5850
@@ -361,7 +362,7 @@ EXPORT_SYMBOL(ath_reg_notifier_apply);
361362

362363
static bool ath_regd_is_eeprom_valid(struct ath_regulatory *reg)
363364
{
364-
u16 rd = ath_regd_get_eepromRD(reg);
365+
u16 rd = ath_regd_get_eepromRD(reg);
365366
int i;
366367

367368
if (rd & COUNTRY_ERD_FLAG) {

0 commit comments

Comments
 (0)