diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-04-24 03:34:46 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-04-24 03:34:46 +0000 |
commit | cbbe49a1d8f3daabca43b65184a18fd895f90b2d (patch) | |
tree | 3bdb5db904b0b68ae748a2966dc16e053b478af4 /package/hostapd/patches/551-nl80211_del_beacon_bss.patch | |
parent | e15e8f6976a0812fd259860499476d1cad3c268f (diff) | |
download | upstream-cbbe49a1d8f3daabca43b65184a18fd895f90b2d.tar.gz upstream-cbbe49a1d8f3daabca43b65184a18fd895f90b2d.tar.bz2 upstream-cbbe49a1d8f3daabca43b65184a18fd895f90b2d.zip |
hostapd: fix a few compile errors and warnings
SVN-Revision: 26751
Diffstat (limited to 'package/hostapd/patches/551-nl80211_del_beacon_bss.patch')
-rw-r--r-- | package/hostapd/patches/551-nl80211_del_beacon_bss.patch | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/package/hostapd/patches/551-nl80211_del_beacon_bss.patch b/package/hostapd/patches/551-nl80211_del_beacon_bss.patch index a4cf619f42..5f3c0f4291 100644 --- a/package/hostapd/patches/551-nl80211_del_beacon_bss.patch +++ b/package/hostapd/patches/551-nl80211_del_beacon_bss.patch @@ -1,6 +1,6 @@ --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c -@@ -2092,23 +2092,41 @@ wpa_driver_nl80211_finish_drv_init(struc +@@ -2092,23 +2092,43 @@ wpa_driver_nl80211_finish_drv_init(struc } @@ -33,18 +33,20 @@ + + for (bss = &drv->first_bss; bss; bss = bss->next) + wpa_driver_nl80211_del_bss_beacon(bss); ++ ++ return 0; +} + +static int wpa_driver_nl80211_stop_ap(void *priv) +{ + struct i802_bss *bss = priv; + -+ wpa_driver_nl80211_del_beacon(bss->drv); ++ return wpa_driver_nl80211_del_beacon(bss->drv); +} /** * wpa_driver_nl80211_deinit - Deinitialize nl80211 driver interface -@@ -6581,4 +6599,5 @@ const struct wpa_driver_ops wpa_driver_n +@@ -6581,4 +6601,5 @@ const struct wpa_driver_ops wpa_driver_n .set_intra_bss = nl80211_set_intra_bss, .set_param = nl80211_set_param, .get_radio_name = nl80211_get_radio_name, |