aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/ctrl_iface.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2015-07-21 10:46:00 (GMT)
committerJouni Malinen <j@w1.fi>2015-07-21 10:56:19 (GMT)
commit63e169e149fce48827ba8482e6ea32b4bc8edc8b (patch)
tree0f042911170a2ed652cd1f4a0b0b40175b2e7cc4 /hostapd/ctrl_iface.c
parent4be0dd2232e03ce61667a3cbe62069667d6d64a7 (diff)
downloadhostap-63e169e149fce48827ba8482e6ea32b4bc8edc8b.zip
hostap-63e169e149fce48827ba8482e6ea32b4bc8edc8b.tar.gz
hostap-63e169e149fce48827ba8482e6ea32b4bc8edc8b.tar.bz2
hostapd: Mark config parameter name const
The functions parsing configuration parameters do not modify the name of the parameter, so mark that function argument constant. In theory, the value should also be const, but at least for now, number of the parser functions end up modifying this to simplify parsing. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'hostapd/ctrl_iface.c')
-rw-r--r--hostapd/ctrl_iface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hostapd/ctrl_iface.c b/hostapd/ctrl_iface.c
index 2fe8e56..6be6c2a 100644
--- a/hostapd/ctrl_iface.c
+++ b/hostapd/ctrl_iface.c
@@ -2638,7 +2638,7 @@ hostapd_interfaces_get_hapd(struct hapd_interfaces *interfaces,
static int hostapd_ctrl_iface_dup_param(struct hostapd_data *src_hapd,
struct hostapd_data *dst_hapd,
- char *param)
+ const char *param)
{
int res;
char *value;