diff options
author | Mohammed Shafi Shajakhan <mshajakhan@atheros.com> | 2010-11-13 15:28:27 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-11-16 21:39:09 (GMT) |
commit | 28d9cc7f21da6a70fc8c1516fa0ee5588572eb92 (patch) | |
tree | af912c7abf19423a43944714c6e63a58f9dfc008 /drivers | |
parent | ef1b21f7eb074a8c8ddfea70ed70e988545c8d54 (diff) | |
download | linux-fsl-qoriq-28d9cc7f21da6a70fc8c1516fa0ee5588572eb92.tar.xz |
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')
-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 75ecf6a..db00289 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; |