qcacmn: Correct RSN IE length check

The minimal size of RSN ie data size is
2 (only contain version field).

The original 3 will cause driver identify
such AP beacon/probe rsp as invalid and
do not connect to it.

Change-Id: Idceaf936cbd0ca448f82d9594b35ca346c6513d4
CRs-Fixed: 2294094
This commit is contained in:
Liangwei Dong 2018-08-14 01:41:35 -04:00 • committed by nshrivas
commit df19d48862

View file

@ -446,7 +446,7 @@ struct wlan_rsn_ie_hdr {
u8 version[2];
};
#define WLAN_RSN_IE_MIN_LEN 3
#define WLAN_RSN_IE_MIN_LEN 2
/**
* struct wlan_rsn_ie: rsn ie info