osmo_io: Support detecting non-blocking connect()

libosmo-netif does a non blocking connect(), which as per definition of
 the socket API is signalled from the OS to the user by marking the file
descriptor writable.

osmo_io needs to signal this somehow. Previously osmo_io would only call
the write_cb if actual data has been sent. This patch changes the behaviour
so that calling osmo_iofd_write_enable() will call write_cb() on a writable
socket even if the write queue is empty.

Change-Id: I893cbc3becd5e125f2f06b3654578aed0aacadf3
diff --git a/src/core/osmo_io.c b/src/core/osmo_io.c
index 857644d..9960fb4 100644
--- a/src/core/osmo_io.c
+++ b/src/core/osmo_io.c
@@ -395,8 +395,7 @@
 void osmo_iofd_write_enable(struct osmo_io_fd *iofd)
 {
 	iofd->write_enabled = true;
-	if (iofd->tx_queue.current_length > 0)
-		osmo_iofd_ops.write_enable(iofd);
+	osmo_iofd_ops.write_enable(iofd);
 }
 
 /*! Disable writing to this iofd