Skip to content

Commit 1740771

Browse files
lrq-maxjmberg-intel
authored andcommitted
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>
1 parent 6321aa1 commit 1740771

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/wireless/mac80211_hwsim.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3554,7 +3554,7 @@ static int hwsim_get_radio_nl(struct sk_buff *msg, struct genl_info *info)
35543554
goto out_err;
35553555
}
35563556

3557-
genlmsg_reply(skb, info);
3557+
res = genlmsg_reply(skb, info);
35583558
break;
35593559
}
35603560

0 commit comments

Comments
 (0)