mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 13:28:02 +02:00
rfkill: fix up grandparent driver name detection
This commit is contained in:
parent
ee920262ac
commit
0065165901
1 changed files with 1 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ killswitch_new (GUdevDevice *device, RfKillType rtype)
|
|||
/* Sigh; try the grandparent */
|
||||
grandparent = g_udev_device_get_parent (parent);
|
||||
if (grandparent)
|
||||
driver = g_udev_device_get_property (parent, "DRIVER");
|
||||
driver = g_udev_device_get_property (grandparent, "DRIVER");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue