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 20:40:41 +0200 |
commit | 0448b5fc032ea76096eb3cfbe3196b3c01b08b86 (patch) | |
tree | 836e9171ce8592afb7322e955e5767ee2222eb10 /net/wireless/nl80211.c | |
parent | ar9170: remove unnecessary call to ar9170_set_beacon_timers (diff) | |
download | linux-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.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) { |