aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/ap_drv_ops.c
diff options
context:
space:
mode:
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>2015-06-10 08:43:34 (GMT)
committerJouni Malinen <j@w1.fi>2015-06-14 20:16:55 (GMT)
commit5d180a77392690b141d95609d8c8692317712b4f (patch)
treeff81a470de8f90917a24a0234d4c459941545232 /src/ap/ap_drv_ops.c
parent5143e7ee6e9d34d7715de57cb9ea2e658c3fa319 (diff)
downloadhostap-5d180a77392690b141d95609d8c8692317712b4f.zip
hostap-5d180a77392690b141d95609d8c8692317712b4f.tar.gz
hostap-5d180a77392690b141d95609d8c8692317712b4f.tar.bz2
drivers: Add freq parameter to send_mlme() function
Change send_mlme() API to allow sending management frames on a specific channel, overriding the internal driver decision. Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com> Reviewed-by: Ilan Peer <ilan.peer@intel.com>
Diffstat (limited to 'src/ap/ap_drv_ops.c')
-rw-r--r--src/ap/ap_drv_ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ap/ap_drv_ops.c b/src/ap/ap_drv_ops.c
index 60c8f8c..f3f7edd 100644
--- a/src/ap/ap_drv_ops.c
+++ b/src/ap/ap_drv_ops.c
@@ -633,7 +633,7 @@ int hostapd_drv_send_mlme(struct hostapd_data *hapd,
{
if (hapd->driver == NULL || hapd->driver->send_mlme == NULL)
return 0;
- return hapd->driver->send_mlme(hapd->drv_priv, msg, len, noack);
+ return hapd->driver->send_mlme(hapd->drv_priv, msg, len, noack, 0);
}