af_ieee802154: fix ioctl processing
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Sun, 2 Aug 2009 10:12:01 +0000 (14:12 +0400)
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Thu, 6 Aug 2009 08:49:17 +0000 (12:49 +0400)
fix two errors in ioctl processing:
1) if the ioctl isn't supported one should return -ENOIOCTLCMD
2) don't call ndo_do_ioctl if the device doesn't provide it

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>

No differences found