Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8d9744fb authored by Liangwei Dong's avatar Liangwei Dong Committed by Gerrit - the friendly Code Review server
Browse files

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
parent 1fd4a708
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -437,7 +437,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