mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
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:
parent
689aa38d1e
commit
df19d48862
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue