mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 13:27:06 +09:00
net: wireless: bcmdhd: Add WIPHY_FLAG_SUPPORTS_FW_ROAM flag
Adding this flag will allow NL80211_ATTR_ROAM_SUPPORT, and will set WPA_DRIVER_FLAGS_BSS_SELECTION flag in wpa_supplicant Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
This commit is contained in:
@@ -4114,7 +4114,9 @@ static struct wireless_dev *wl_alloc_wdev(struct device *sdiofunc_dev)
|
||||
WIPHY_FLAG_SUPPORTS_SEPARATE_DEFAULT_KEYS |
|
||||
#endif
|
||||
WIPHY_FLAG_4ADDR_STATION;
|
||||
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 2, 0)
|
||||
wdev->wiphy->flags |= WIPHY_FLAG_SUPPORTS_FW_ROAM;
|
||||
#endif
|
||||
WL_DBG(("Registering custom regulatory)\n"));
|
||||
wdev->wiphy->flags |= WIPHY_FLAG_CUSTOM_REGULATORY;
|
||||
wiphy_apply_custom_regulatory(wdev->wiphy, &brcm_regdom);
|
||||
|
||||
Reference in New Issue
Block a user