mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-03-21 18:00:38 +01:00
2007-09-27 Dan Williams <dcbw@redhat.com>
Patch from Bill Nottingham * src/supplicant-manager/nm-supplicant-config.c - (ADD_STRING_VAL): use correct length for binary blobs when sending data to the supplicant git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2913 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
fd8daa2a04
commit
6f4a7ae0aa
2 changed files with 9 additions and 1 deletions
|
|
@ -1,3 +1,11 @@
|
|||
2007-09-27 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
Patch from Bill Nottingham
|
||||
|
||||
* src/supplicant-manager/nm-supplicant-config.c
|
||||
- (ADD_STRING_VAL): use correct length for binary blobs when sending
|
||||
data to the supplicant
|
||||
|
||||
2007-09-27 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* src/NetworkManagerSystem.c
|
||||
|
|
|
|||
|
|
@ -310,7 +310,7 @@ nm_supplicant_config_add_setting_wireless (NMSupplicantConfig * self,
|
|||
value = nm_utils_hexstr2bin (field, strlen (field)); \
|
||||
} else \
|
||||
value = g_strdup (field); \
|
||||
success = nm_supplicant_config_add_option (self, name, value, -1, secret); \
|
||||
success = nm_supplicant_config_add_option (self, name, value, unhexify ? (strlen (field) / 2) : -1, secret); \
|
||||
g_free (value); \
|
||||
if (!success) { \
|
||||
nm_warning ("Error adding %s to supplicant config.", name); \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue