[DTV00895901] connect: Fix ssid length is not initialized caused connect fail

[Description]
Fix ssid length not been re-initialized during connection, and caused next
connection to a hidden ssid AP fail problem.
This problem can be reproduced by first connecting to an non-empty ssid AP.
And then next time connect to a stealth AP.

Change-Id: Ied266e255851a8cb9cfa185cf24e7fe527c5795e
Signed-off-by: Sarick Jiang <sarick.jiang@mediatek.com>
CR-Id: DTV00895901
Feature: connect
(cherry picked from commit 43107555dc968e5c670e7579335d396bd4d747e7)
1 file changed