mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-09 01:50:21 +01:00
Fix valgrind warning
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3099 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
cb2af424de
commit
d99a3945a9
1 changed files with 2 additions and 0 deletions
|
|
@ -1047,6 +1047,8 @@ nm_device_802_11_wireless_get_frequency (NMDevice80211Wireless *self)
|
|||
if (!sk)
|
||||
return 0;
|
||||
|
||||
memset (&wrq, 0, sizeof (struct iwreq));
|
||||
|
||||
nm_ioctl_info ("%s: About to GET IWFREQ.", iface);
|
||||
err = iw_get_ext (nm_dev_sock_get_fd (sk), iface, SIOCGIWFREQ, &wrq);
|
||||
if (err >= 0)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue