[PATCH] iwd: fix crash related to initialization of network objects