wifi: fix ioctl bad address error