diff options
author | Mohammed Shafi Shajakhan <mshajakhan@atheros.com> | 2010-11-13 20:58:27 +0530 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-11-16 16:39:09 -0500 |
commit | 28d9cc7f21da6a70fc8c1516fa0ee5588572eb92 (patch) | |
tree | af912c7abf19423a43944714c6e63a58f9dfc008 /drivers/net/wireless/ath/ath9k/htc.h | |
parent | ef1b21f7eb074a8c8ddfea70ed70e988545c8d54 (diff) |
ath9k_htc: Use macro for caldata array size
The calibration data variable size is based on the number of
channels available in the ath9k driver.
Signed-off-by: Mohammed Shafi Shajakhan <mshajakhan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/htc.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/htc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc.h b/drivers/net/wireless/ath/ath9k/htc.h index 75ecf6a30d2..db00289103f 100644 --- a/drivers/net/wireless/ath/ath9k/htc.h +++ b/drivers/net/wireless/ath/ath9k/htc.h @@ -368,7 +368,7 @@ struct ath9k_htc_priv { u16 seq_no; u32 bmiss_cnt; - struct ath9k_hw_cal_data caldata[38]; + struct ath9k_hw_cal_data caldata[ATH9K_NUM_CHANNELS]; spinlock_t beacon_lock; |