From: Vladimir Kondratiev Date: Thu, 4 Oct 2012 13:32:23 +0000 (+0300) Subject: 60 GHz: Fix error while processing scan results X-Git-Tag: hostap_2_0~185 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c097652828f6cf89450d9de23be2ac502c5c59d1;p=thirdparty%2Fhostap.git 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 Signed-hostap: Jouni Malinen --- diff --git a/src/drivers/driver.h b/src/drivers/driver.h index 03481e078..e07df86a4 100644 --- a/src/drivers/driver.h +++ b/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_*)