mac80211_hwsim: hostapd fails to start with S1G band
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wpa (Ubuntu) |
Fix Released
|
High
|
Sebastien Bacher | ||
Hirsute |
Fix Released
|
High
|
Sebastien Bacher |
Bug Description
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@
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-
wlan0: AP-ENABLED
^C
wlan0: interface state ENABLED->DISABLED
wlan0: AP-DISABLED
wlan0: CTRL-EVENT-
nl80211: deinit ifname=wlan0 disabled_
this due to the mismanagement of the newly added S1G band, the attached patch fixes it.
CVE References
tags: | added: patch |
Changed in wpa (Ubuntu Hirsute): | |
assignee: | nobody → Sebastien Bacher (seb128) |
Changed in wpa (Ubuntu Hirsute): | |
importance: | Undecided → High |
status: | New → Fix Committed |
Thanks for the patch Paolo, I uploaded to hirsute now