[WCNCR00156577] softap: Fix cannot start hostapd with WPA

[Description]
Fix cannot start hostapd with WPA

Symptom:
Enable softap with WPA security and check the SSID on phone.
The SSID would be found with WEP security.

Rootcause & Solution:
In original design, the cipher configuration would be set to WEP
if the softap working WPA-TKIP mode. The cipher policy in WPA IE
parsing should be updated. If WPA IE here and RSN IE doesn't exist,
we should use TKIP as default.

Change-Id: I7d12ebe4f9fbda8408e77d7607c281686ff9d56c
Signed-off-by: Deren Wu <deren.wu@mediatek.com>
CR-Id: WCNCR00156577
Feature: softap
(cherry picked from commit 6e5974c0186e5513a15e4f47d23777d47914b438)
1 file changed