mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-02-12 19:11:40 +01:00
When an IBBS interface is configured for IBSS legacy mode, wdev.htmode
is empty. This is empty string results in an empty positional argument
to the "ibbs join" command, for example:
iw dev phy0-ibss0 ibss join crymesh 2412 '' fixed-freq beacon-interval 100
This empty argument is interpreted as an invalid HT mode by 'iw',
causing the entire command to fail and print a "usage" message:
daemon.notice netifd: radio0 (4527): Usage: iw [options] \
dev <devname> ibss join <SSID> <freq in MHz> ...
Although nobody will ever need more than 640K of IBSS, explicitly use
"NOHT" if an HT mode is not given. This fixes the problem.
Fixes:
|
||
|---|---|---|
| .. | ||
| common.uc | ||
| dhcp-get-server.sh | ||
| hostapd-basic.config | ||
| hostapd-full.config | ||
| hostapd-mini.config | ||
| hostapd.sh | ||
| hostapd.uc | ||
| multicall.c | ||
| radius.clients | ||
| radius.config | ||
| radius.init | ||
| radius.users | ||
| wdev.uc | ||
| wpa_supplicant-basic.config | ||
| wpa_supplicant-full.config | ||
| wpa_supplicant-mini.config | ||
| wpa_supplicant-p2p.config | ||
| wpa_supplicant.uc | ||
| wpad.init | ||
| wpad.json | ||
| wpad_acl.json | ||
| wps-hotplug.sh | ||