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)
committerRISCi_ATOM <bob@bobcall.me>
Sat, 7 Dec 2019 15:46:34 +0000 (10:46 -0500)
commita9eeb640c3338ae3e6bb8f0599c45980c8307ecc
tree38f2588f6087f21d233a635e5d2ba22f0c04aef0
parent61e1b885023573bae50f8a8f6f1a8035ea0a6545
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