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>
This commit is contained in:
Vladimir Kondratiev 2012-10-04 16:32:23 +03:00 committed by Jouni Malinen
parent 485e3a9228
commit c097652828

View file

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