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,
|
||||
setup_device_interface,
|
||||
destroy_device_interface, false))
|
||||
return false;
|
||||
return -EPERM;
|
||||
|
||||
netdev_watch = netdev_watch_add(device_netdev_notify, NULL, NULL);
|
||||
|
||||
|
|
Loading…
Reference in New Issue