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

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
...@@ -2181,7 +2181,7 @@ static int nl80211_dump_mpath(struct sk_buff *skb, ...@@ -2181,7 +2181,7 @@ static int nl80211_dump_mpath(struct sk_buff *skb,
if (netdev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) { if (netdev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) {
err = -EOPNOTSUPP; err = -EOPNOTSUPP;
goto out; goto out_err;
} }
while (1) { while (1) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment