mac80211: refactor non-{sae,dfs} mesh initialization
authorDaniel Golle <daniel@makrotopia.org>
Mon, 14 May 2018 21:55:24 +0000 (23:55 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 15 May 2018 00:05:56 +0000 (02:05 +0200)
commit96f4792fdb036ecf5c8417fce6503412b0b27e5f
tree1f3c8823a7192c5a08e106d284ef8e9e2366469c
parentba5ec6b77c94a21bbd78b66c63317a4ff9b62962
mac80211: refactor non-{sae,dfs} mesh initialization

Refactor mesh initialization into a separate function, do some cleaning
on the way to make the code more readable.
Changes:
 * Move iw mesh setup to new mac80211_setup_mesh()
 * fallback on 'ssid' parameter in case 'mesh_id' isn't set
 * move setting of freq variable to shared code as it is needed for
   both, the wpa_supplicant and the iw based setup.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/kernel/mac80211/Makefile
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh