This patch fix the del_phy_response_event and change
IEEE802154_ADD_IFACE to IEEE802154_DEL_IFACE otherwise we run into
deadlock in calling of iz del.

Signed-off-by: Alexander Aring <alex.ar...@gmail.com>
---
 src/iz-phy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/iz-phy.c b/src/iz-phy.c
index 135f50e..d306e7d 100644
--- a/src/iz-phy.c
+++ b/src/iz-phy.c
@@ -305,7 +305,7 @@ static iz_res_t del_phy_response(struct iz_cmd *cmd, struct 
genlmsghdr *ghdr, st
 static struct iz_cmd_event del_phy_response_event[] = {
        {
                .call = del_phy_response,
-               .nl = IEEE802154_ADD_IFACE,
+               .nl = IEEE802154_DEL_IFACE,
        },
        {},
 };
-- 
2.0.1


------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Reply via email to