mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-10 15:58:47 +00:00
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>
This commit is contained in:
parent
229a7ef7c2
commit
0448b5fc03
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user