TDLS: Set the initiator during tdls_mgmt operations
[mech_eap.git] / src / rsn_supp / wpa_i.h
index e20e9da..845a1b6 100644 (file)
@@ -268,12 +268,14 @@ static inline int wpa_sm_tdls_get_capa(struct wpa_sm *sm,
 static inline int wpa_sm_send_tdls_mgmt(struct wpa_sm *sm, const u8 *dst,
                                        u8 action_code, u8 dialog_token,
                                        u16 status_code, u32 peer_capab,
-                                       const u8 *buf, size_t len)
+                                       int initiator, const u8 *buf,
+                                       size_t len)
 {
        if (sm->ctx->send_tdls_mgmt)
                return sm->ctx->send_tdls_mgmt(sm->ctx->ctx, dst, action_code,
                                               dialog_token, status_code,
-                                              peer_capab, buf, len);
+                                              peer_capab, initiator, buf,
+                                              len);
        return -1;
 }