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>
Fri, 29 Nov 2019 17:26:20 +0000 (18:26 +0100)
commitc7fb12beb1d347f1cedc7890dbe2d441f70ccf62
tree93c066b5b01f732d222ef465dc0669e74ce90d69
parent7c76565d4ca0d0e20744a877d19318362566b58c
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]
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh