--- zzzz-none-000/linux-4.19.183/net/wireless/core.c 2021-03-24 10:07:39.000000000 +0000 +++ bcm63-7530ax-756/linux-4.19.183/net/wireless/core.c 2023-06-28 08:54:21.000000000 +0000 @@ -1216,7 +1216,11 @@ /* allow mac80211 to determine the timeout */ wdev->ps_timeout = -1; +#ifdef CONFIG_BCM_KF_WL_HOSTAPD + if ((false || +#else /* CONFIG_BCM_KF_WL_HOSTAPD */ if ((wdev->iftype == NL80211_IFTYPE_STATION || +#endif /* CONFIG_BCM_KF_WL_HOSTAPD */ wdev->iftype == NL80211_IFTYPE_P2P_CLIENT || wdev->iftype == NL80211_IFTYPE_ADHOC) && !wdev->use_4addr) dev->priv_flags |= IFF_DONT_BRIDGE;