MLK-18490 CORE: HDD: add ssid len check

Add ssid len check to avoid the race between iface up and down.

log:
[ 1579.835577] CPU: 1 PID: 8058 Comm: kworker/u8:0 Tainted:
[ 1579.846096] Hardware name: FSL i.MX8MM EVK board (DT)
[ 1579.851154] Workqueue: cfg80211 cfg80211_event_work
[ 1579.856649] task: ffff800077df0c80 task.stack: ffff80006e668000
[ 1579.862739] PC is at __cfg80211_connect_result+0x2d0/0x400
[ 1579.868224] LR is at __cfg80211_connect_result+0x13c/0x400
[ 1579.873709] pc : [<ffff000008c1f428>] lr : [<ffff000008c1f294>] pstate: 40000145

Signed-off-by: Hangtian Zhu <hangtian@qti.qualcomm.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
1 file changed
tree: 53b4f5e961d5ffeece7fa65f8efd33716353666d
  1. CORE/
  2. firmware_bin/
  3. wcnss/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile