diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-08-22 21:15:49 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-28 14:40:41 -0400 |
commit | 0448b5fc032ea76096eb3cfbe3196b3c01b08b86 (patch) | |
tree | 836e9171ce8592afb7322e955e5767ee2222eb10 /net/wireless/nl80211.c | |
parent | 229a7ef7c2861f9ecb7e025f4bd4ea1167fbb0a7 (diff) | |
download | lwn-0448b5fc032ea76096eb3cfbe3196b3c01b08b86.tar.gz lwn-0448b5fc032ea76096eb3cfbe3196b3c01b08b86.zip |
nl80211: jump to out_err upon unsupported iftype
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>
Diffstat (limited to 'net/wireless/nl80211.c')
-rw-r--r-- | net/wireless/nl80211.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index 71bfc044a939..eddab097435c 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c @@ -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) { |