This seems to be necessary. Without the location turned on, the hotspot does not start showing a p2p error.