summaryrefslogtreecommitdiffstats
path: root/net/wireless
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2009-08-22 21:15:49 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-08-28 14:40:41 -0400
commit0448b5fc032ea76096eb3cfbe3196b3c01b08b86 (patch)
tree836e9171ce8592afb7322e955e5767ee2222eb10 /net/wireless
parent229a7ef7c2861f9ecb7e025f4bd4ea1167fbb0a7 (diff)
downloadlinux-0448b5fc032ea76096eb3cfbe3196b3c01b08b86.tar.gz
linux-0448b5fc032ea76096eb3cfbe3196b3c01b08b86.tar.bz2
linux-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')
-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,
if (netdev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) {
err = -EOPNOTSUPP;
- goto out;
+ goto out_err;
}
while (1) {