hostapd: report bssid, ssid and channel over ubus
authorMartin Weinelt <hexa@darmstadt.ccc.de>
Fri, 25 Jun 2021 22:01:07 +0000 (00:01 +0200)
committerDavid Bauer <mail@david-bauer.net>
Tue, 6 Jul 2021 00:26:38 +0000 (02:26 +0200)
commit398df6275674b637bc950e4f946f84c2bc5e09ff
tree5f87cf8b68d7ddf4445d4aa6194efc3292e4ca06
parent64ce35bfafb14a0d0e86990037be5c437babead0
hostapd: report bssid, ssid and channel over ubus

Imports a function from iw to convert frequencies to channel numbers.

Co-authored-by: David Bauer <mail@david-bauer.net>
Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
[fix potential out of bounds read]
Signed-off-by: David Bauer <mail@david-bauer.net>
package/network/services/hostapd/src/src/ap/ubus.c