diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-10-15 17:20:54 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-10-15 17:20:54 +0200 |
commit | df9b42963f2d010ae3163a894ce22cf6b27cd344 (patch) | |
tree | f42f826d9bb975766c1a79986c39e64c9a900908 /net/atm/resources.c | |
parent | mac80211: Fix FC masking in BIP AAD generation (diff) | |
parent | mac80211: use ieee80211_free_txskb to fix possible skb leaks (diff) | |
download | linux-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.c | 2 |
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; } } |