wlan: Disconnect the session if the connect channel is not valid

If reg domain changes during connection and the connecting channel
is not valid, driver may connect to an invalid channel.
In this case wlan_hdd_cfg80211_update_bss_db will return NULL and
thus sta will not be registered to TL. This will cause RX frames
buffered in TL layer and eventually low resource condition.

To avoid this schedule a disconnect for the session if
wlan_hdd_cfg80211_update_bss_db returns NULL.

Change-Id: I72b62ea7d47f53db55daea5725fa833fd1a45fb8
CRs-Fixed: 1034569
1 file changed
tree: 890b8f29ebece6e6d764bde03edc0e6e737c4e8c
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile