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:
parent
485e3a9228
commit
c097652828
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ struct hostapd_channel_data {
|
||||||
/**
|
/**
|
||||||
* freq - Frequency in MHz
|
* freq - Frequency in MHz
|
||||||
*/
|
*/
|
||||||
short freq;
|
int freq;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* flag - Channel flags (HOSTAPD_CHAN_*)
|
* flag - Channel flags (HOSTAPD_CHAN_*)
|
||||||
|
|
Loading…
Reference in a new issue