summaryrefslogtreecommitdiff
path: root/package/network/services/hostapd/patches/700-ubus_support.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-04-22 13:24:48 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-04-22 13:24:48 +0000
commitb530b5a5068aeb7e4dea51838d6bb6456de0ed51 (patch)
tree4ef3e4c703a9083baedd383a01ca7cbe5cf59ca4 /package/network/services/hostapd/patches/700-ubus_support.patch
parentd72f255a4616f31daa7aa8fdb738e78de43d078d (diff)
hostapd: update to 2013-04-05
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36376 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/services/hostapd/patches/700-ubus_support.patch')
-rw-r--r--package/network/services/hostapd/patches/700-ubus_support.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/package/network/services/hostapd/patches/700-ubus_support.patch b/package/network/services/hostapd/patches/700-ubus_support.patch
index ad1a45bf38..39351ca9e7 100644
--- a/package/network/services/hostapd/patches/700-ubus_support.patch
+++ b/package/network/services/hostapd/patches/700-ubus_support.patch
@@ -22,7 +22,7 @@
struct wpa_driver_ops;
struct wpa_ctrl_dst;
-@@ -71,6 +72,7 @@ struct hostapd_data {
+@@ -72,6 +73,7 @@ struct hostapd_data {
struct hostapd_iface *iface;
struct hostapd_config *iconf;
struct hostapd_bss_config *conf;
@@ -30,7 +30,7 @@
int interface_added; /* virtual interface added for this BSS */
u8 own_addr[ETH_ALEN];
-@@ -212,6 +214,7 @@ struct hostapd_iface {
+@@ -213,6 +215,7 @@ struct hostapd_iface {
void *owner;
char *config_fname;
struct hostapd_config *conf;
@@ -478,7 +478,7 @@
+#endif
--- a/src/ap/hostapd.c
+++ b/src/ap/hostapd.c
-@@ -254,6 +254,7 @@ static int hostapd_broadcast_wep_set(str
+@@ -270,6 +270,7 @@ static int hostapd_broadcast_wep_set(str
static void hostapd_free_hapd_data(struct hostapd_data *hapd)
{
@@ -486,7 +486,7 @@
iapp_deinit(hapd->iapp);
hapd->iapp = NULL;
accounting_deinit(hapd);
-@@ -818,6 +819,8 @@ static int hostapd_setup_bss(struct host
+@@ -834,6 +835,8 @@ static int hostapd_setup_bss(struct host
if (hapd->driver && hapd->driver->set_operstate)
hapd->driver->set_operstate(hapd->drv_priv, 1);
@@ -495,7 +495,7 @@
return 0;
}
-@@ -900,6 +903,7 @@ int hostapd_setup_interface_complete(str
+@@ -916,6 +919,7 @@ int hostapd_setup_interface_complete(str
if (err)
goto error;
@@ -503,7 +503,7 @@
wpa_printf(MSG_DEBUG, "Completing interface initialization");
if (hapd->iconf->channel) {
iface->freq = hostapd_hw_get_freq(hapd, hapd->iconf->channel);
-@@ -990,6 +994,7 @@ int hostapd_setup_interface_complete(str
+@@ -1006,6 +1010,7 @@ int hostapd_setup_interface_complete(str
error:
wpa_printf(MSG_ERROR, "Interface initialization failed");
@@ -511,7 +511,7 @@
eloop_terminate();
return -1;
}
-@@ -1088,6 +1093,8 @@ void hostapd_interface_deinit_free(struc
+@@ -1104,6 +1109,8 @@ void hostapd_interface_deinit_free(struc
void *drv_priv;
if (iface == NULL)
return;