Rename driver capability for radar background detection
Use the WPA_DRIVER_FLAGS2_ prefer for this to be more consistent. Signed-off-by: Gokul Sivakumar <gokulkumar.sivakumar@infineon.com>
This commit is contained in:
parent
5025047ac3
commit
bbc7ffe852
3 changed files with 3 additions and 3 deletions
|
@ -34,7 +34,7 @@ dfs_downgrade_bandwidth(struct hostapd_iface *iface, int *secondary_channel,
|
|||
|
||||
static bool dfs_use_radar_background(struct hostapd_iface *iface)
|
||||
{
|
||||
return (iface->drv_flags2 & WPA_DRIVER_RADAR_BACKGROUND) &&
|
||||
return (iface->drv_flags2 & WPA_DRIVER_FLAGS2_RADAR_BACKGROUND) &&
|
||||
iface->conf->enable_background_radar;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue