Ticket #7973: 0001-fix-setting-of-client-mode-settings-inside-wpa_suppl.patch

File 0001-fix-setting-of-client-mode-settings-inside-wpa_suppl.patch, 915 bytes (added by MHOOO, 6 years ago)

Patch for client mode on WZR-HP-G300NH (and possibly others)

  • package/hostapd/files/wpa_supplicant.sh

    From 51a216bdb97b6e0fb1d43bfa0424e8f8f03d1fbd Mon Sep 17 00:00:00 2001
    From: Thomas Karolski <Thomas.Karolski@googlemail.com>
    Date: Mon, 20 Sep 2010 21:27:29 +0200
    Subject: - fix setting of client mode settings inside wpa_supplicant.conf when setting eap mode from luci
    
    ---
     package/hostapd/files/wpa_supplicant.sh |    1 +
     1 files changed, 1 insertions(+), 0 deletions(-)
    
    diff --git a/package/hostapd/files/wpa_supplicant.sh b/package/hostapd/files/wpa_supplicant.sh
    index 28d5d20..3c09de4 100644
    a b wpa_supplicant_setup_vif() { 
    7272                        config_get ca_cert "$vif" ca_cert 
    7373                        config_get eap_type "$vif" eap_type 
    7474                        ca_cert=${ca_cert:+"ca_cert=\"$ca_cert\""} 
     75                        eap_type=`echo $eap_type | tr '[A-Z]' '[a-z]'` 
    7576                        case "$eap_type" in 
    7677                                tls) 
    7778                                        pairwise='pairwise=CCMP'