mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-31 23:42:52 +01:00
device: Fix init return type
This commit is contained in:
parent
358d0ca201
commit
749d45f58f
@ -420,7 +420,7 @@ static int device_init(void)
|
|||||||
IWD_DEVICE_INTERFACE,
|
IWD_DEVICE_INTERFACE,
|
||||||
setup_device_interface,
|
setup_device_interface,
|
||||||
destroy_device_interface, false))
|
destroy_device_interface, false))
|
||||||
return false;
|
return -EPERM;
|
||||||
|
|
||||||
netdev_watch = netdev_watch_add(device_netdev_notify, NULL, NULL);
|
netdev_watch = netdev_watch_add(device_netdev_notify, NULL, NULL);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user