hostapd: fix encrypted mesh channel settings
[oweals/openwrt.git] / package / network / services / hostapd / patches / 400-wps_single_auth_enc_type.patch
index f5872cd5979e48aa0f918635af0852f2c1acb027..ea144f4def315f79e37a47acf9800592fed25567 100644 (file)
@@ -1,6 +1,6 @@
 --- a/src/ap/wps_hostapd.c
 +++ b/src/ap/wps_hostapd.c
-@@ -352,8 +352,7 @@ static int hapd_wps_reconfig_in_memory(s
+@@ -346,8 +346,7 @@ static int hapd_wps_reconfig_in_memory(s
                                bss->wpa_pairwise |= WPA_CIPHER_GCMP;
                        else
                                bss->wpa_pairwise |= WPA_CIPHER_CCMP;
@@ -10,8 +10,8 @@
                        bss->wpa_pairwise |= WPA_CIPHER_TKIP;
                bss->rsn_pairwise = bss->wpa_pairwise;
                bss->wpa_group = wpa_select_ap_group_cipher(bss->wpa,
-@@ -1073,8 +1072,7 @@ int hostapd_init_wps(struct hostapd_data
-               if (conf->rsn_pairwise & (WPA_CIPHER_CCMP | WPA_CIPHER_GCMP)) {
+@@ -1069,8 +1068,7 @@ int hostapd_init_wps(struct hostapd_data
+                                         WPA_CIPHER_GCMP_256)) {
                        wps->encr_types |= WPS_ENCR_AES;
                        wps->encr_types_rsn |= WPS_ENCR_AES;
 -              }