aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpa_supplicant_i.h
diff options
context:
space:
mode:
authorGautam <gautams@broadcom.com>2015-07-31 09:04:30 (GMT)
committerJouni Malinen <j@w1.fi>2015-08-02 18:37:09 (GMT)
commitd4e597959c07aa569db349313dde76907f4b2d92 (patch)
treee4edd7f15e79b3becbd1791ef56b7a6686f9f6be /wpa_supplicant/wpa_supplicant_i.h
parenta2bc326e1e8dd605a82fedf4d788e08b29be5b92 (diff)
downloadhostap-d4e597959c07aa569db349313dde76907f4b2d92.zip
hostap-d4e597959c07aa569db349313dde76907f4b2d92.tar.gz
hostap-d4e597959c07aa569db349313dde76907f4b2d92.tar.bz2
P2P: Fix P2P configuration file name
The P2P configuration file is wrongly set as STA configuration file, even though a separate configuration file is mentioned with '-m' option. Add initialization and deallocation of global.params->conf_p2p_dev to fix this. Signed-off-by: Gautam <gautams@broadcom.com>
Diffstat (limited to 'wpa_supplicant/wpa_supplicant_i.h')
-rw-r--r--wpa_supplicant/wpa_supplicant_i.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/wpa_supplicant_i.h b/wpa_supplicant/wpa_supplicant_i.h
index 0636ee4..a4e99ed 100644
--- a/wpa_supplicant/wpa_supplicant_i.h
+++ b/wpa_supplicant/wpa_supplicant_i.h
@@ -225,7 +225,7 @@ struct wpa_params {
* This can also be %NULL. In such a case, if a P2P Device dedicated
* interfaces is created, the main configuration file will be used.
*/
- const char *conf_p2p_dev;
+ char *conf_p2p_dev;
#endif /* CONFIG_P2P */
};