[netdrvr] tehuti: move ioctl perm check closer to function start