aboutsummaryrefslogtreecommitdiffstats
path: root/src/fst
diff options
context:
space:
mode:
Diffstat (limited to 'src/fst')
-rw-r--r--src/fst/fst.h4
-rw-r--r--src/fst/fst_iface.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/fst/fst.h b/src/fst/fst.h
index bfeba636..0c0e435b 100644
--- a/src/fst/fst.h
+++ b/src/fst/fst.h
@@ -70,9 +70,9 @@ struct fst_wpa_obj {
/**
* set_ies - Set interface's MB IE
* @ctx: User context %ctx
- * @fst_ies: MB IE buffer
+ * @fst_ies: MB IE buffer (owned by FST module)
*/
- void (*set_ies)(void *ctx, struct wpabuf *fst_ies);
+ void (*set_ies)(void *ctx, const struct wpabuf *fst_ies);
/**
* send_action - Send FST Action frame via the interface
diff --git a/src/fst/fst_iface.h b/src/fst/fst_iface.h
index 26cb38dd..4670d894 100644
--- a/src/fst/fst_iface.h
+++ b/src/fst/fst_iface.h
@@ -85,7 +85,7 @@ static inline int fst_iface_get_hw_modes(struct fst_iface *i,
}
static inline void fst_iface_set_ies(struct fst_iface *i,
- struct wpabuf *fst_ies)
+ const struct wpabuf *fst_ies)
{
i->iface_obj.set_ies(i->iface_obj.ctx, fst_ies);
}