Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0448b5fc authored by Roel Kluin's avatar Roel Kluin Committed by John W. Linville
Browse files

nl80211: jump to out_err upon unsupported iftype



Jump to out_err when the iftype is not supported.

Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 229a7ef7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2181,7 +2181,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) {