net: wireless: bcmdhd: Remove WIPHY_FLAG_SUPPORTS_FW_ROAM flag
authorDmitry Shmidt <dimitrysh@google.com>
Wed, 22 Aug 2012 23:09:09 +0000 (16:09 -0700)
committerDmitry Shmidt <dimitrysh@google.com>
Thu, 23 Aug 2012 18:33:16 +0000 (11:33 -0700)
If driver advertises FW_ROAM, the supplicant wouldn't send
the BSSID & Freq in the connect command allowing the driver
to choose the AP to connect to. But unless we support ROAM_CACHE
in firware this will delay the ASSOC as the FW need to do a full
scan before attempting to connect.

Change-Id: Iebc88a60243196b9ad27b8302f2b1473710308f6
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
drivers/net/wireless/bcmdhd/wl_cfg80211.c

index 04689546ac8d29287812288de321a21ef71a737f..9af2c1b41f5aa9882d7f83b136632705f47292be 100644 (file)
@@ -4650,7 +4650,7 @@ static s32 wl_setup_wiphy(struct wireless_dev *wdev, struct device *sdiofunc_dev
 #endif
                WIPHY_FLAG_4ADDR_STATION;
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 2, 0)
-       wdev->wiphy->flags |= WIPHY_FLAG_SUPPORTS_FW_ROAM;
+       /* wdev->wiphy->flags |= WIPHY_FLAG_SUPPORTS_FW_ROAM; */
 #endif
        WL_DBG(("Registering custom regulatory)\n"));
        wdev->wiphy->flags |= WIPHY_FLAG_CUSTOM_REGULATORY;