* [PATCH] nl80211: jump to out_err upon unsupported iftype
@ 2009-08-22 19:15 Roel Kluin
0 siblings, 0 replies; only message in thread
From: Roel Kluin @ 2009-08-22 19:15 UTC (permalink / raw)
To: John W. Linville, linux-wireless, Andrew Morton
Jump to out_err when the iftype is not supported.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
---
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c
index 634496b..c6fc083 100644
--- a/net/wireless/nl80211.c
+++ b/net/wireless/nl80211.c
@@ -1998,7 +1998,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) {
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-08-22 19:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-22 19:15 [PATCH] nl80211: jump to out_err upon unsupported iftype Roel Kluin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).