diff options
author | Li RongQing | 2019-02-19 13:12:40 +0800 |
---|---|---|
committer | Johannes Berg | 2019-02-22 13:27:22 +0100 |
commit | 17407715240456448e4989bee46ffc93991add83 (patch) | |
tree | eab2c48a26603a07c126634d72debc9e88f2ceae /drivers | |
parent | 6321aa197547da397753757bd84c6ce64b3e3d89 (diff) |
mac80211_hwsim: propagate genlmsg_reply return code
genlmsg_reply can fail, so propagate its return code
Signed-off-by: Li RongQing <lirongqing@baidu.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/mac80211_hwsim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index 320edcac4699..6359053bd0c7 100644 --- a/drivers/net/wireless/mac80211_hwsim.c +++ b/drivers/net/wireless/mac80211_hwsim.c @@ -3554,7 +3554,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; } |