Skip to content

Commit

Permalink
nl80211: jump to out_err upon unsupported iftype
Browse files Browse the repository at this point in the history
Jump to out_err when the iftype is not supported.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Roel Kluin authored and John W. Linville committed Aug 28, 2009
1 parent 229a7ef commit 0448b5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/wireless/nl80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0448b5f

Please sign in to comment.