Source: http://androidnougatupdate.info/android-nougat-how-to-turn-on-or-turn-off-nearby-device-scanning-on-samsung-galaxy-s8-or-s8-latest-news/