Quote Originally Posted by Erns Pen View Post
Well, here's what solved it for me (I have a galaxy s5 by the way).
Go settings ==> connections ==> Location (turn on location if it isn't already, of course) ===> "Improve accuracy" and turn on "Wi-Fi scanning" to initiate the bug process.
Then go back to Location, and, in the list of apps under "Recent location requests", tap one and go to "Permissions" and disable the "Location" permission for each one, one a time (IMPORTANT).
If after disabling the location permission of one of the apps it doesn't fix the problem (check the wifi connection behavior), move on to disable location permission for the next app on the list ("Recent location requests"). Eventually, after disabling the location permission of the glitchy app, the bug will stop
For me it was the Contacts from Outlook. Clicked on Contacts from the Recent Location Requests page, switched off Location and all has been fine.