mac80211: netifd: Use a mask when using `iw set antenna`
authorAlexander Couzens <lynxis@fe80.eu>
Sat, 9 Mar 2019 14:59:32 +0000 (15:59 +0100)
committerAlexander Couzens <lynxis@fe80.eu>
Sat, 16 Mar 2019 20:16:28 +0000 (21:16 +0100)
commitdd3214f95d3557fc4c8dc794620149f4e3f4d2e8
tree5ea5208bd3989b8cf2e87acc2b3c7c3e267c9488
parent8852a09d85e5b0c2ffab55578a9624edb2fb6dd1
mac80211: netifd: Use a mask when using `iw set antenna`

The keyword "all" is only supported by `iw set antenna` if
it's used as the only argument.
Convert "all" into a mask before calling `iw set antenna`.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
package/kernel/mac80211/Makefile
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh