2006-02-15 Robert Love <rml@novell.com>

* src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
	  define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
	  and WPA_SUPPLICANT_CONTROL_SOCKET.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1476 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Robert Love 2006-02-15 21:46:42 +00:00 committed by Robert Love
parent 8cd691824c
commit fe1ae75408
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2006-02-15 Robert Love <rml@novell.com>
* src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
and WPA_SUPPLICANT_CONTROL_SOCKET.
2006-02-15 Robert Love <rml@novell.com>
* src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug

View file

@ -2016,8 +2016,8 @@ ap_need_key (NMDevice80211Wireless *self,
* Free Software Foundation version 2 of the License.
*/
#define WPA_SUPPLICANT_GLOBAL_SOCKET "/var/run/wpa_supplicant-global"
#define WPA_SUPPLICANT_CONTROL_SOCKET "/var/run/wpa_supplicant"
#define WPA_SUPPLICANT_GLOBAL_SOCKET LOCALSTATEDIR"/run/wpa_supplicant-global"
#define WPA_SUPPLICANT_CONTROL_SOCKET LOCALSTATEDIR"/run/wpa_supplicant"
static void