diff mbox

[v2] drivers/hostap: fix send_mlme after 'freq' parameter addition

Message ID 1436284194.25773.10.camel@redhat.com
State Accepted
Headers show

Commit Message

Dan Williams July 7, 2015, 3:49 p.m. UTC
Fixes: 5d180a77

Signed-off-by: Dan Williams <dcbw@redhat.com>
---
 src/drivers/driver_hostap.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comments

Jouni Malinen July 7, 2015, 6:30 p.m. UTC | #1
On Tue, Jul 07, 2015 at 10:49:54AM -0500, Dan Williams wrote:
> Fixes: 5d180a77

Thanks, applied.
diff mbox

Patch

diff --git a/src/drivers/driver_hostap.c b/src/drivers/driver_hostap.c
index 8835005..afc44f4 100644
--- a/src/drivers/driver_hostap.c
+++ b/src/drivers/driver_hostap.c
@@ -316,7 +316,7 @@  static int hostap_send_eapol(void *priv, const u8 *addr, const u8 *data,
 	pos += 2;
 	memcpy(pos, data, data_len);
 
-	res = hostap_send_mlme(drv, (u8 *) hdr, len, 0);
+	res = hostap_send_mlme(drv, (u8 *) hdr, len, 0, 0);
 	if (res < 0) {
 		wpa_printf(MSG_ERROR, "hostap_send_eapol - packet len: %lu - "
 			   "failed: %d (%s)",
@@ -1053,7 +1053,7 @@  static int hostap_sta_deauth(void *priv, const u8 *own_addr, const u8 *addr,
 	memcpy(mgmt.bssid, own_addr, ETH_ALEN);
 	mgmt.u.deauth.reason_code = host_to_le16(reason);
 	return hostap_send_mlme(drv, (u8 *) &mgmt, IEEE80211_HDRLEN +
-				sizeof(mgmt.u.deauth), 0);
+				sizeof(mgmt.u.deauth), 0, 0);
 }
 
 
@@ -1091,7 +1091,7 @@  static int hostap_sta_disassoc(void *priv, const u8 *own_addr, const u8 *addr,
 	memcpy(mgmt.bssid, own_addr, ETH_ALEN);
 	mgmt.u.disassoc.reason_code = host_to_le16(reason);
 	return  hostap_send_mlme(drv, (u8 *) &mgmt, IEEE80211_HDRLEN +
-				 sizeof(mgmt.u.disassoc), 0);
+				 sizeof(mgmt.u.disassoc), 0, 0);
 }
 
 
@@ -1169,7 +1169,7 @@  static void wpa_driver_hostap_poll_client(void *priv, const u8 *own_addr,
 	os_memcpy(hdr.IEEE80211_BSSID_FROMDS, own_addr, ETH_ALEN);
 	os_memcpy(hdr.IEEE80211_SA_FROMDS, own_addr, ETH_ALEN);
 
-	hostap_send_mlme(priv, (u8 *)&hdr, sizeof(hdr), 0);
+	hostap_send_mlme(priv, (u8 *)&hdr, sizeof(hdr), 0, 0);
 }