mac80211: unify setup of iw htmode for mesh and adhoc
authorSantiago Piccinini <spiccinini@altermundi.net>
Mon, 25 Nov 2019 19:53:59 +0000 (16:53 -0300)
committerDaniel Golle <daniel@makrotopia.org>
Sat, 30 Nov 2019 19:20:54 +0000 (20:20 +0100)
commitd2d12346e8e6dd5fbb6befd4f9e3e1d5304a2e31
tree202cfabfdce287b693bb13f8c387d59a8712c870
parent06bf1a9b67789229ed8401b554bc1183950dff72
mac80211: unify setup of iw htmode for mesh and adhoc

This also fixes mac80211_prepare_vif iw set channel in monitor or
mesh mode.

Signed-off-by: Santiago Piccinini <spiccinini@altermundi.net>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
[daniel@makrotopia.org: fixed commit message]
(cherry picked from commit c7fb12beb1d347f1cedc7890dbe2d441f70ccf62)
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh