hostapd: fix VHT80 for encrypted mesh channel settings
authorSven Eckelmann <sven.eckelmann@openmesh.com>
Mon, 14 May 2018 12:45:25 +0000 (14:45 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 14 May 2018 17:07:37 +0000 (19:07 +0200)
commitba5ec6b77c94a21bbd78b66c63317a4ff9b62962
tree4065ee7ccf439da285f7e1b9c3dcd92b3efb732f
parent547042398afac3ce702adab28c753e7c9ebed452
hostapd: fix VHT80 for encrypted mesh channel settings

The max_oper_chwidth settings was parsed incorrectly for big endian system.
This prevented the system to switch to VHT80 (or VHT160). Instead they were
mapped to:

* HT20:   20MHz
* VHT20:  20MHz
* HT40:   40MHz
* VHT40:  40MHz
* VHT80:  40MHz
* VHT160: 40MHz

This happened because each max_oper_chwidth setting in the config file was
parsed as "0" instead of the actual value.

Fixes: a4322eba2b12 ("hostapd: fix encrypted mesh channel settings")
Signed-off-by: Sven Eckelmann <sven.eckelmann@openmesh.com>
package/network/services/hostapd/Makefile
package/network/services/hostapd/patches/033-mesh-fix-parsing-of-max_oper_chwidth.patch [new file with mode: 0644]