diff options
| author | Jouni Malinen <j@w1.fi> | 2015-07-18 16:16:26 +0300 |
|---|---|---|
| committer | Linux Build Service Account <lnxbuild@localhost> | 2015-10-06 03:19:49 -0600 |
| commit | 1f125d14880657a527207b1c3379959d10d9dfe0 (patch) | |
| tree | cda3dc815a3b85752376ada4d82a0cb907035bd1 /src/ap | |
| parent | 8ddc4546d19057b985b7de9f70dd3e6f8b807f6d (diff) | |
| download | android_external_wpa_supplicant_8-1f125d14880657a527207b1c3379959d10d9dfe0.tar.gz android_external_wpa_supplicant_8-1f125d14880657a527207b1c3379959d10d9dfe0.tar.bz2 android_external_wpa_supplicant_8-1f125d14880657a527207b1c3379959d10d9dfe0.zip | |
FST: Mark get_mb_ie() return value const
The caller is not expected to free or modify the value since this is
returning a reference to a buffer maintained by the upper layer.
Change-Id: I72c1f148bd130ea0f8567952e11abd790916728c
Signed-off-by: Jouni Malinen <j@w1.fi>
Git-commit: a0f04da517a5af848331fd978c1200cea28b6a33
Git-repo: git://w1.fi/srv/git/hostap.git
CRs-Fixed: 891455
Diffstat (limited to 'src/ap')
| -rw-r--r-- | src/ap/hostapd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ap/hostapd.c b/src/ap/hostapd.c index 9e7b88f2..fa524a04 100644 --- a/src/ap/hostapd.c +++ b/src/ap/hostapd.c @@ -1407,7 +1407,7 @@ static int fst_hostapd_send_action_cb(void *ctx, const u8 *da, } -static struct wpabuf * fst_hostapd_get_mb_ie_cb(void *ctx, const u8 *addr) +static const struct wpabuf * fst_hostapd_get_mb_ie_cb(void *ctx, const u8 *addr) { struct hostapd_data *hapd = ctx; struct sta_info *sta = ap_get_sta(hapd, addr); |
