aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/hostapd.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2015-08-03 17:37:05 +0300
committerLinux Build Service Account <lnxbuild@localhost>2015-10-06 03:20:02 -0600
commit6b56924087cf2a0dcf4dd070fd8955bce9739062 (patch)
treefc704e6a316e265dc4b2c862ca0c1204152c54b7 /src/ap/hostapd.c
parent4d637fc8944587300f6596a7de4554d3fc256fcf (diff)
downloadandroid_external_wpa_supplicant_8-6b56924087cf2a0dcf4dd070fd8955bce9739062.tar.gz
android_external_wpa_supplicant_8-6b56924087cf2a0dcf4dd070fd8955bce9739062.tar.bz2
android_external_wpa_supplicant_8-6b56924087cf2a0dcf4dd070fd8955bce9739062.zip
FST: Mark fst_ies buffer const
This buffer is owned by the FST module, so mark it const in the set_ies() callback to make it clearer which component is responsible for modifying and freeing this. Change-Id: I85ba3b57a539f1eee9628b9d8f5691a03b58f1d1 Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: 84bcb4e7a97c758900abebce4382c81ed2b70b75 Git-repo: git://w1.fi/srv/git/hostap.git CRs-Fixed: 891455
Diffstat (limited to 'src/ap/hostapd.c')
-rw-r--r--src/ap/hostapd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ap/hostapd.c b/src/ap/hostapd.c
index fa524a04..e0f87d7d 100644
--- a/src/ap/hostapd.c
+++ b/src/ap/hostapd.c
@@ -1385,7 +1385,7 @@ static void fst_hostapd_get_channel_info_cb(void *ctx,
}
-static void fst_hostapd_set_ies_cb(void *ctx, struct wpabuf *fst_ies)
+static void fst_hostapd_set_ies_cb(void *ctx, const struct wpabuf *fst_ies)
{
struct hostapd_data *hapd = ctx;