summaryrefslogtreecommitdiffstats
path: root/net/wireless/nl80211.c
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 20:40:41 +0200
commit0448b5fc032ea76096eb3cfbe3196b3c01b08b86 (patch)
tree836e9171ce8592afb7322e955e5767ee2222eb10 /net/wireless/nl80211.c
parentar9170: remove unnecessary call to ar9170_set_beacon_timers (diff)
downloadlinux-0448b5fc032ea76096eb3cfbe3196b3c01b08b86.tar.xz
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/nl80211.c')
-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) {