aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/calib.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath9k/calib.h')
-rw-r--r--drivers/net/wireless/ath9k/calib.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/net/wireless/ath9k/calib.h b/drivers/net/wireless/ath9k/calib.h
index e2c614098545..d2448f049c1d 100644
--- a/drivers/net/wireless/ath9k/calib.h
+++ b/drivers/net/wireless/ath9k/calib.h
@@ -56,14 +56,14 @@ struct ar5416IniArray {
56 56
57#define INSERT_CAL(_ahp, _perCal) \ 57#define INSERT_CAL(_ahp, _perCal) \
58 do { \ 58 do { \
59 if ((_ahp)->ah_cal_list_last == NULL) { \ 59 if ((_ahp)->cal_list_last == NULL) { \
60 (_ahp)->ah_cal_list = \ 60 (_ahp)->cal_list = \
61 (_ahp)->ah_cal_list_last = (_perCal); \ 61 (_ahp)->cal_list_last = (_perCal); \
62 ((_ahp)->ah_cal_list_last)->calNext = (_perCal); \ 62 ((_ahp)->cal_list_last)->calNext = (_perCal); \
63 } else { \ 63 } else { \
64 ((_ahp)->ah_cal_list_last)->calNext = (_perCal); \ 64 ((_ahp)->cal_list_last)->calNext = (_perCal); \
65 (_ahp)->ah_cal_list_last = (_perCal); \ 65 (_ahp)->cal_list_last = (_perCal); \
66 (_perCal)->calNext = (_ahp)->ah_cal_list; \ 66 (_perCal)->calNext = (_ahp)->cal_list; \
67 } \ 67 } \
68 } while (0) 68 } while (0)
69 69