aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-02-06 19:44:19 (GMT)
committerJouni Malinen <j@w1.fi>2009-02-08 10:37:37 (GMT)
commit89164fe46320d715156928df342f1beb22a83a1d (patch)
tree972dc0dec5cce14809fed16c52c80f6d86d18d87 /src
parentd594afcd1aedaa5e171f0ab29d388f6a5d6d12e4 (diff)
downloadhostap-06-89164fe46320d715156928df342f1beb22a83a1d.zip
hostap-06-89164fe46320d715156928df342f1beb22a83a1d.tar.gz
hostap-06-89164fe46320d715156928df342f1beb22a83a1d.tar.bz2
UPnP: Renamed PutWLANResponse callback function to match action
No point in adding extra "event_" to the name. (cherry picked from commit d0184cb25c30a123bb73492f894840f879764164)
Diffstat (limited to 'src')
-rw-r--r--src/wps/wps_upnp.h2
-rw-r--r--src/wps/wps_upnp_web.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/wps/wps_upnp.h b/src/wps/wps_upnp.h
index eb3397e..31b0556 100644
--- a/src/wps/wps_upnp.h
+++ b/src/wps/wps_upnp.h
@@ -38,7 +38,7 @@ struct upnp_wps_device_ctx {
const struct wpabuf *msg);
int (*rx_req_set_sta_settings)(void *priv, const struct wpabuf *msg);
int (*rx_req_del_sta_settings)(void *priv, const struct wpabuf *msg);
- int (*rx_req_put_wlan_event_response)(
+ int (*rx_req_put_wlan_response)(
void *priv, enum upnp_wps_wlanevent_type ev_type,
const u8 *mac_addr, const struct wpabuf *msg,
enum wps_msg_type msg_type);
diff --git a/src/wps/wps_upnp_web.c b/src/wps/wps_upnp_web.c
index 241afaa..db47c29 100644
--- a/src/wps/wps_upnp_web.c
+++ b/src/wps/wps_upnp_web.c
@@ -1029,11 +1029,11 @@ web_process_put_wlan_response(struct upnp_wps_device_sm *sm, char *data,
wpa_printf(MSG_DEBUG, "WPS UPnP: Message Type %d", type);
} else
type = -1;
- if (!sm->ctx->rx_req_put_wlan_event_response ||
- sm->ctx->rx_req_put_wlan_event_response(sm->priv, ev_type,
- macaddr, msg, type)) {
+ if (!sm->ctx->rx_req_put_wlan_response ||
+ sm->ctx->rx_req_put_wlan_response(sm->priv, ev_type, macaddr, msg,
+ type)) {
wpa_printf(MSG_INFO, "WPS UPnP: Fail: sm->ctx->"
- "rx_req_put_wlan_event_response");
+ "rx_req_put_wlan_response");
wpabuf_free(msg);
return HTTP_INTERNAL_SERVER_ERROR;
}