mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
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>
This commit is contained in:
parent
ef1b21f7eb
commit
28d9cc7f21
1 changed files with 1 additions and 1 deletions
|
@ -368,7 +368,7 @@ struct ath9k_htc_priv {
|
||||||
u16 seq_no;
|
u16 seq_no;
|
||||||
u32 bmiss_cnt;
|
u32 bmiss_cnt;
|
||||||
|
|
||||||
struct ath9k_hw_cal_data caldata[38];
|
struct ath9k_hw_cal_data caldata[ATH9K_NUM_CHANNELS];
|
||||||
|
|
||||||
spinlock_t beacon_lock;
|
spinlock_t beacon_lock;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue