mac80211: pass phy name to hostapd_set_bss_options
authorDavid Bauer <mail@david-bauer.net>
Mon, 19 Oct 2020 17:36:56 +0000 (19:36 +0200)
committerDavid Bauer <mail@david-bauer.net>
Tue, 27 Oct 2020 23:08:49 +0000 (00:08 +0100)
commitdaeda8a87e87030d4fd92504f8bffb5ca0dcf333
tree8a08d54c22e26b27a39bad8ec324af12471e7d59
parentb518f07d4b8ae144453c606c9ec4ecef7d39f968
mac80211: pass phy name to hostapd_set_bss_options

hostapd_set_bss_options expects the PHY as second and the VIF as third
argument. However, only the VIF was passed as second argument without a
third argument at all.

This was never a problem, as both PHY and VIF were never accessed.
However, with FTM support the PHY is needed to determine the HW support
when configuring the BSS.

Signed-off-by: David Bauer <mail@david-bauer.net>
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh