summaryrefslogtreecommitdiffstats
path: root/net/atm/resources.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-10-15 17:20:54 +0200
committerJohannes Berg <johannes.berg@intel.com>2012-10-15 17:20:54 +0200
commitdf9b42963f2d010ae3163a894ce22cf6b27cd344 (patch)
treef42f826d9bb975766c1a79986c39e64c9a900908 /net/atm/resources.c
parentmac80211: Fix FC masking in BIP AAD generation (diff)
parentmac80211: use ieee80211_free_txskb to fix possible skb leaks (diff)
downloadlinux-df9b42963f2d010ae3163a894ce22cf6b27cd344.tar.xz
linux-df9b42963f2d010ae3163a894ce22cf6b27cd344.zip
Merge remote-tracking branch 'wireless/master' into mac80211
Diffstat (limited to 'net/atm/resources.c')
-rw-r--r--net/atm/resources.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/atm/resources.c b/net/atm/resources.c
index 23f45ce6f351..0447d5d0b639 100644
--- a/net/atm/resources.c
+++ b/net/atm/resources.c
@@ -432,7 +432,7 @@ int atm_dev_ioctl(unsigned int cmd, void __user *arg, int compat)
size = dev->ops->ioctl(dev, cmd, buf);
}
if (size < 0) {
- error = (size == -ENOIOCTLCMD ? -EINVAL : size);
+ error = (size == -ENOIOCTLCMD ? -ENOTTY : size);
goto done;
}
}