Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 28d9cc7f authored by Mohammed Shafi Shajakhan's avatar Mohammed Shafi Shajakhan Committed by John W. Linville
Browse files

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: default avatarMohammed Shafi Shajakhan <mshajakhan@atheros.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent ef1b21f7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;