openwrt/package/kernel/mac80211/files
Bastian Bittorf 91ba22e3a4 mac80211: fix IBSS/adhoc mode for brcmfmac
On systems using brmcfmac (e.g. Raspberry Pi Zero W) without this fix,
the final setup-call:
iw dev wlan0 ibss join ...

fails with returncode 161 and message:
"command failed: Not supported (-95)"

So this patch calls an explicit:
iw dev wlan0 set type ibss
just prior to the 'ibss join' command.

I have tested several ath9k and mt76xx devices
with different revisions: this patch does not harm.

please also apply to stable branch.

Signed-off-by: Bastian Bittorf <bb@npl.de>
(cherry-picked from commit ea5fce3f46)
2021-11-23 18:30:04 +01:00
..
lib mac80211: fix IBSS/adhoc mode for brcmfmac 2021-11-23 18:30:04 +01:00
mac80211.hotplug base-files, mac80211, broadcom-wl: wifi detection and configuration 2016-11-03 11:08:01 +01:00