wlan: Set cfg Dot11 mode when firmware capabilities received

When DUT is roaming to 11AC AP from 11n AP, it is getting failed.
Reassoc request frame is getting dropped in H/W because
host is configuring wrong cbmode as part of ft ADD BSS request.
While preparing FT ADD BSS request, Host fills cbmode on the
basis of cfg DOT11 mode. During driver initialization host
set the cfg DOT11 mode before firmware capabilities received.
So in this case it is 11AC mode though hardware is not capable
for same. So cbmode has wrong value.
As part of this fix, Host will set cfg DOT11 mode after
firmware capabilities received.

Change-Id: Ib78bb287f032278bce3cea573b2365107cd6e3d8
CRs-Fixed: 813675
diff --git a/CORE/HDD/src/wlan_hdd_main.c b/CORE/HDD/src/wlan_hdd_main.c
index 8ff97e4..975d6ce 100755
--- a/CORE/HDD/src/wlan_hdd_main.c
+++ b/CORE/HDD/src/wlan_hdd_main.c
@@ -9841,6 +9841,10 @@
 #endif
    /* Send the update default channel list to the FW*/
    sme_UpdateChannelList(pHddCtx->hHal);
+
+   /* Fwr capabilities received, Set the Dot11 mode */
+   sme_SetDefDot11Mode(pHddCtx->hHal);
+
 #ifndef CONFIG_ENABLE_LINUX_REG
    /*updating wiphy so that regulatory user hints can be processed*/
    if (wiphy)