WLAN: Don't disconnect if station is connected in supported band.

If station is connected in 2.4 GHz and band capability is changed
from Auto to 2.4 GHz only, station is getting disconnect.
Same is the case with 5 GHz.
Right now disconnection is issued when in connected state
if new band capability is not the supported one.
Disconnect will happen only in case of if connected channel is
not supported in new Band.

CRs-Fixed: 634330
Change-Id: Ie18102e252922fd7b97be1295a27ff8fe1a9bfa2
wlan: Fix issues reported by Static Analysis

Fix issues reported by Static Analysis

Change-Id: I636b0ef1e085481daa158457ad55e8e88bf0ce05
CRs-Fixed: 642510
wlan: Revision 3.2.3.296

Revision 3.2.3.296

Change-Id: I0ee81e11c81e08e6b690fb18346f1da726f6f8b7
Add OSEN support in the host driver

This commit adds the support required for OSEN like appending the
OSEN IE in assoc req and security check validation in the host
driver.

Change-Id: Ie8382b7906cc20fc7e31886ee216aba8b9b13ce1
CRs-fixed: 647586
wlan: Protect wlan_hdd_cfg80211_change_iface function from SSR

Protect wlan_hdd_cfg80211_change_iface function from accessing
uninitialized or deallocated data structures while SSR is in
progress.

Change-Id: I3472eccc41d2a6f2f4526d99dacbb8bbde61aaab
CRs-Fixed: 633889
wlan : Revision 3.2.3.297

Revision  3.2.3.297

Change-Id: Ie9f48a6c777ccd42ca193d58a16379da265a5b5c