Public bug reported:

Hostapd fails to start on a recent 5.10+ kernel:

$ cat repro.sh 
#!/bin/sh

sudo modprobe mac80211_hwsim
sudo  ip a flush dev wlan0
sudo  ip a add 192.168.5.1/24 dev wlan0

cat << EOF > hostapd.conf
interface=wlan0
driver=nl80211
hw_mode=b
channel=1
ssid=fake net
EOF

sudo  hostapd hostapd.conf

ubuntu@hirsute-amd64:~$ ./repro.sh 
Configuration file: hostapd.conf
nl80211: kernel reports: expected nested data
Using interface wlan0 with hwaddr 02:00:00:00:00:00 and ssid "fake net"
wlan0: interface state UNINITIALIZED->ENABLED
wlan0: AP-ENABLED 
^C
wlan0: interface state ENABLED->DISABLED
wlan0: AP-DISABLED      
wlan0: CTRL-EVENT-TERMINATING 
nl80211: deinit ifname=wlan0 disabled_11b_rates=0

this due to the mismanagement of the newly added S1G band, the attached
patch fixes it.

** Affects: wpa (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: wpa (Ubuntu Hirsute)
     Importance: Undecided
         Status: New

** Patch added: "Upstream cherry pick for S1G band fix"
   
https://bugs.launchpad.net/bugs/1912609/+attachment/5455142/+files/wpa_2.9-1ubuntu10.debdiff

** Also affects: wpa (Ubuntu Hirsute)
   Importance: Undecided
       Status: New

** Patch removed: "Upstream cherry pick for S1G band fix"
   
https://bugs.launchpad.net/ubuntu/+source/wpa/+bug/1912609/+attachment/5455142/+files/wpa_2.9-1ubuntu10.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1912609

Title:
  mac80211_hwsim: hostapd fails to start with S1G band

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wpa/+bug/1912609/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to