Wifi automatically turns on persistently, despite configuration
This problem might be caused by some third party application installed on the device. I faced this problem with quite a few applications like "Fast File Transfer", "Super Beam", etc. Applications that require to use the wifi-direct feature seem to create the problem. I uninstalled both the applications and the device wifi was normal again after a reboot.