diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index 76b41578a838e3bed8596c5950ffbd6881d54a64..5849fa199f7733a0a67291b19ec2acdf2be72c23 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c @@ -2321,6 +2321,7 @@ static int nl80211_set_wiphy(struct sk_buff *skb, struct genl_info *info) rdev->wiphy.frag_threshold = old_frag_threshold; rdev->wiphy.rts_threshold = old_rts_threshold; rdev->wiphy.coverage_class = old_coverage_class; + return result; } } return 0;