Browse Source

60 GHz: Fix error while processing scan results

Channel frequency for 60 GHz band do not fit into 'short int', as was
used. Expand it to 'int'

Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Vladimir Kondratiev 12 years ago
parent
commit
c097652828
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/drivers/driver.h

+ 1 - 1
src/drivers/driver.h

@@ -41,7 +41,7 @@ struct hostapd_channel_data {
 	/**
 	 * freq - Frequency in MHz
 	 */
-	short freq;
+	int freq;
 
 	/**
 	 * flag - Channel flags (HOSTAPD_CHAN_*)