aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/wireless/nl80211.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c
index a999fc154623..cea595e2ed4d 100644
--- a/net/wireless/nl80211.c
+++ b/net/wireless/nl80211.c
@@ -877,7 +877,7 @@ static int nl80211_set_wiphy(struct sk_buff *skb, struct genl_info *info)
877 int idx, mbm = 0; 877 int idx, mbm = 0;
878 878
879 if (!rdev->ops->set_tx_power) { 879 if (!rdev->ops->set_tx_power) {
880 return -EOPNOTSUPP; 880 result = -EOPNOTSUPP;
881 goto bad_res; 881 goto bad_res;
882 } 882 }
883 883