Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hostapd: make "key" option optional if "wpa_psk_file" is provided
If an existing "wpa_psk_file" is passed to hostapd, the "key" option may be omitted. While we're at it, also improve the passphrase length checking to ensure that it is either exactly 64 bytes or 8 to 63 bytes. Fixes: FS#2689 Ref: openwrt#3283 Suggested-by: Michael Jones <[email protected]> Signed-off-by: Jo-Philipp Wich <[email protected]>
- Loading branch information