Check for possible wireless interference.

You mentioned the problem seems fixed by changing the location of your laptop. So I assume either the wireless interference or wireless disconnection with any physical obstacle cause this issue.