mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-19 21:46:52 +00:00
hostapd: wpa_supplicant: Enable proper GCMP cipher support
This patch enables hostapd.sh to properly configure wpa_supplicant for when GCMP is used as cipher in station mode. Without this wpa_supplicant will be unable to connect to AP. This is needed for wil6210 as it does not support CCMP. Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
9c845a5ad1
commit
f246dfde33
@ -7,7 +7,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=hostapd
|
||||
PKG_RELEASE:=21
|
||||
PKG_RELEASE:=22
|
||||
|
||||
PKG_SOURCE_URL:=http://w1.fi/hostap.git
|
||||
PKG_SOURCE_PROTO:=git
|
||||
|
@ -1312,6 +1312,11 @@ wpa_supplicant_add_network() {
|
||||
;;
|
||||
esac
|
||||
|
||||
[ "$wpa_cipher" = GCMP ] && {
|
||||
append network_data "pairwise=GCMP" "$N$T"
|
||||
append network_data "group=GCMP" "$N$T"
|
||||
}
|
||||
|
||||
[ "$mode" = mesh ] || {
|
||||
case "$wpa" in
|
||||
1)
|
||||
|
Loading…
Reference in New Issue
Block a user