3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 13:02:44 +01:00

device: Fix init return type

This commit is contained in:
Tim Kourt 2020-04-17 10:20:52 -07:00 committed by Denis Kenzior
parent 358d0ca201
commit 749d45f58f

View File

@ -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);