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:
Gokul Sivakumar 2023-04-26 16:15:56 +05:30 committed by Jouni Malinen
parent 5025047ac3
commit bbc7ffe852
3 changed files with 3 additions and 3 deletions

View file

@ -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;
}