hostapd: fix 350-nl80211_del_beacon_bss.patch
authorAndre Heider <a.heider@gmail.com>
Fri, 25 Nov 2022 16:37:59 +0000 (17:37 +0100)
committerAndre Heider <a.heider@gmail.com>
Tue, 13 Dec 2022 09:54:50 +0000 (10:54 +0100)
commit2d36f60d88e9fe3af858a8d4661f0601770f5baa
tree960642bad139bfa1319548077ddf2d3ee9b664ae
parent3bc060440ab6f797f7cde804639f8e211ea0cf82
hostapd: fix 350-nl80211_del_beacon_bss.patch

Pass the expected struct:

../src/drivers/driver_nl80211.c: In function 'wpa_driver_nl80211_del_beacon':
../src/drivers/driver_nl80211.c:2945:31: warning: passing argument 1 of 'nl80211_bss_msg' from incompatible pointer type [-Wincompatible-pointer-types]
 2945 |         msg = nl80211_bss_msg(drv, 0, NL80211_CMD_DEL_BEACON);
      |                               ^~~
      |                               |
      |                               struct wpa_driver_nl80211_data *
../src/drivers/driver_nl80211.c:695:50: note: expected 'struct i802_bss *' but argument is of type 'struct wpa_driver_nl80211_data *'
  695 | struct nl_msg * nl80211_bss_msg(struct i802_bss *bss, int flags, uint8_t cmd)
      |                                 ~~~~~~~~~~~~~~~~~^~~

Fixes: 35ff1affe8 "hostapd: update to 2022-05-08"
Signed-off-by: Andre Heider <a.heider@gmail.com>
package/network/services/hostapd/patches/350-nl80211_del_beacon_bss.patch