[Bug 264238] wpa_supplicant 2.10 fails to associate to open secondary VAP when primary VAP is WPA

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 04 Jul 2022 02:47:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264238

--- Comment #211 from Jaskie <jiangjun12321@gmail.com> ---
(In reply to J.R. Oldroyd from comment #204)

Sadly, it does not seem work for me. This is what I did:

# cd /usr/src
# git reset --hard release/13.1.0

# patch -C -p1 < ~adam/235055.patch && patch -C -p1 < ~/235055.patch            
Hmm...  Looks like a unified diff to me...                                      
The text leading up to this was:                                                
--------------------------                                                      
|diff --git a/contrib/wpa/src/drivers/driver_bsd.c
b/contrib/wpa/src/drivers/driver_bsd.c                                          
|index c455bc93103..345bbb892ec 100644                                          
|--- a/contrib/wpa/src/drivers/driver_bsd.c                                     
|+++ b/contrib/wpa/src/drivers/driver_bsd.c                                     
--------------------------                                                      
Patching file contrib/wpa/src/drivers/driver_bsd.c using Plan A...              
Hunk #1 succeeded at 14.                                                        
Hunk #2 succeeded at 1201.                                                      
Hunk #3 succeeded at 1282 with fuzz 2 (offset -3 lines).                        
done                                                                            
Hmm...  Looks like a unified diff to me...                                      
The text leading up to this was:                                                
--------------------------                                                      
|diff --git a/contrib/wpa/src/drivers/driver_bsd.c
b/contrib/wpa/src/drivers/driver_bsd.c                                          
|index c455bc93103..345bbb892ec 100644                                          
|--- a/contrib/wpa/src/drivers/driver_bsd.c                                     
|+++ b/contrib/wpa/src/drivers/driver_bsd.c                                     
--------------------------                                                      
Patching file contrib/wpa/src/drivers/driver_bsd.c using Plan A...              
Hunk #1 succeeded at 14.                                                        
Hunk #2 succeeded at 1201.                                                      
Hunk #3 succeeded at 1282 with fuzz 2 (offset -3 lines).                        
done                                          

# echo $?                                                      
0 

# make obj
# make depend
# make includes
# make
# make install


# service netif start
# ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 1c:4b:d6:ca:3e:ac
        inet 0.0.0.0/8 broadcast 255.255.255.255
        groups: wlan
        ssid WHU-STU channel 5 (2432 MHz 11g ht/20) bssid 70:d9:31:0e:2c:00
        regdomain 96 indoor ecm authmode WPA privacy MIXED deftxkey UNDEF
        txpower 20 bmiss 7 scanvalid 60 protmode CTS ampdulimit 64k shortgi
        -stbctx stbcrx -ldpc -uapsd wme burst roaming MANUAL bintval 300
        parent interface: ath0
        media: IEEE 802.11 Wireless Ethernet DS/1Mbps mode 11ng
        status: associated
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

dhclient wlan0 didn't help either.

-- 
You are receiving this mail because:
You are on the CC list for the bug.