Skip to contentSkip to conversation

nl80211: jump to out_err upon unsupported iftype

PATCH New Roel Kluin 1 participant 1 message Aug 22, 2009 802.11 (including cfg80211/NL80211)

lore
Share & tools
lore

Roel Kluin

author
#0 lore raw

PATCH 1/1 nl80211: jump to out_err upon unsupported iftype

Jump to out_err when the iftype is not supported.

---

net/wireless/nl80211.c +1 -1
index 634496b..c6fc083 100644
@@ -1998,7 +1998,7 @@ static int nl80211_dump_mpath(struct sk_buff *skb,
 
 	if (netdev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) {
 		err = -EOPNOTSUPP;
-		goto out;
+		goto out_err;
 	}
 
 	while (1) {