diff options
author | Tim Kourt <tim.a.kourt@linux.intel.com> | 2020-04-17 10:20:52 -0700 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2020-04-17 12:22:47 -0500 |
commit | 749d45f58fcabdbacf5fafd0dcb595f53babd714 (patch) | |
tree | 61ddfbc0adb06be700b5cca1a37cd1ff6a27d56b | |
parent | 358d0ca20111e9e2b3d5cb1a8733d48711596d54 (diff) | |
download | iwd-749d45f58fcabdbacf5fafd0dcb595f53babd714.tar.gz |
device: Fix init return type
-rw-r--r-- | src/device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device.c b/src/device.c index c24d7ed14..171a11b6b 100644 --- a/src/device.c +++ b/src/device.c @@ -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); |