Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190351
b: refs/heads/master
c: 93c0c8b
h: refs/heads/master
i:
  190349: 4508c1f
  190347: 0f7b93c
  190343: 3608579
  190335: 51407d4
v: v3
  • Loading branch information
Stefan Schmidt authored and David S. Miller committed Apr 26, 2010
1 parent a348f38 commit ea96a16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dc8bf1b1a6edfc92465526de19772061302f0929
refs/heads/master: 93c0c8b4a5a174645550d444bd5c3ff0cccf74cb
3 changes: 3 additions & 0 deletions trunk/net/ieee802154/af_ieee802154.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ static int ieee802154_dev_ioctl(struct sock *sk, struct ifreq __user *arg,
dev_load(sock_net(sk), ifr.ifr_name);
dev = dev_get_by_name(sock_net(sk), ifr.ifr_name);

if (!dev)
return -ENODEV;

if (dev->type == ARPHRD_IEEE802154 && dev->netdev_ops->ndo_do_ioctl)
ret = dev->netdev_ops->ndo_do_ioctl(dev, &ifr, cmd);

Expand Down

0 comments on commit ea96a16

Please sign in to comment.