diff options
author | Bastian Bittorf <bb@npl.de> | 2021-09-19 11:19:36 +0000 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2021-11-19 18:27:47 +0000 |
commit | ea5fce3f4616df3e4331e6b4e8e79767bded442c (patch) | |
tree | 585905f0b242299c9825ebf9acebdfcc6059b950 /tools | |
parent | 0c70c5c9986c9c1a7f018636e20aa449942bd2a4 (diff) | |
download | upstream-ea5fce3f4616df3e4331e6b4e8e79767bded442c.tar.gz upstream-ea5fce3f4616df3e4331e6b4e8e79767bded442c.tar.bz2 upstream-ea5fce3f4616df3e4331e6b4e8e79767bded442c.zip |
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>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions