Wireless Daemon for Linux
 help / color / mirror / Atom feed
* [PATCH 1/2] device: Fix init return type
@ 2020-04-17 17:20 Tim Kourt
  2020-04-17 17:20 ` [PATCH 2/2] station: " Tim Kourt
  2020-04-17 17:23 ` [PATCH 1/2] device: " Denis Kenzior
  0 siblings, 2 replies; 3+ messages in thread
From: Tim Kourt @ 2020-04-17 17:20 UTC (permalink / raw)
  To: iwd

[-- Attachment #1: Type: text/plain, Size: 469 bytes --]

---
 src/device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/device.c b/src/device.c
index c24d7ed1..171a11b6 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);
 
-- 
2.13.6

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-04-17 17:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-17 17:20 [PATCH 1/2] device: Fix init return type Tim Kourt
2020-04-17 17:20 ` [PATCH 2/2] station: " Tim Kourt
2020-04-17 17:23 ` [PATCH 1/2] device: " Denis Kenzior

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox