commit | 6773c90b93da624a5d3efe75a1775c80a20fd0ff | [log] [tgz] |
---|---|---|
author | Agrawal Ashish <ashishka@codeaurora.org> | Fri Jan 06 19:45:03 2017 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Wed Jan 11 02:43:19 2017 -0800 |
tree | 4b54c015a620f0c9e881271a806d6e6033a751d3 | |
parent | ce67f36047452e1d32c813c3048783f65ac49a69 [diff] |
wlan: Don't start sap when key length is more than 63 char According to WPA2, PSK is 32 bytes and 64 Hex characters. The PSK is 32 bytes (256 bits), often displayed as 64 hex characters. SAP should not turn on if PSK length is set more than 63 char. Fix this by not allowing sap start when key length is more than 63 char. CRs-Fixed: 1108432 Change-Id: I52d95aa10af87bbe95a2a214e46a45c6909df8f2