]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
60 GHz: Fix error while processing scan results
authorVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Thu, 4 Oct 2012 13:32:23 +0000 (16:32 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 4 Oct 2012 13:32:23 +0000 (16:32 +0300)
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>

src/drivers/driver.h

index 03481e078819948dbe9bd0f96444cf7aff796be9..e07df86a40da46f10d3d18fbbbd2ade13f45c1ed 100644 (file)
@@ -41,7 +41,7 @@ struct hostapd_channel_data {
        /**
         * freq - Frequency in MHz
         */
-       short freq;
+       int freq;
 
        /**
         * flag - Channel flags (HOSTAPD_CHAN_*)