summaryrefslogtreecommitdiff
path: root/drivers/net/ieee802154/mac802154_hwsim.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ieee802154/mac802154_hwsim.c')
-rw-r--r--drivers/net/ieee802154/mac802154_hwsim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ieee802154/mac802154_hwsim.c b/drivers/net/ieee802154/mac802154_hwsim.c
index b6743f03dce0..3b88846de31b 100644
--- a/drivers/net/ieee802154/mac802154_hwsim.c
+++ b/drivers/net/ieee802154/mac802154_hwsim.c
@@ -324,7 +324,7 @@ static int hwsim_get_radio_nl(struct sk_buff *msg, struct genl_info *info)
goto out_err;
}
- genlmsg_reply(skb, info);
+ res = genlmsg_reply(skb, info);
break;
}