aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2009-08-22 15:15:49 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-08-28 14:40:41 -0400
commit0448b5fc032ea76096eb3cfbe3196b3c01b08b86 (patch)
tree836e9171ce8592afb7322e955e5767ee2222eb10 /net
parent229a7ef7c2861f9ecb7e025f4bd4ea1167fbb0a7 (diff)
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')
-rw-r--r--net/wireless/nl80211.c2
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,
2181 2181
2182 if (netdev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) { 2182 if (netdev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) {
2183 err = -EOPNOTSUPP; 2183 err = -EOPNOTSUPP;
2184 goto out; 2184 goto out_err;
2185 } 2185 }
2186 2186
2187 while (1) { 2187 while (1) {