Wi-Fi connection timeouts on a specific MacBook
The issue was Discoveryd component in Yosemite which was causing the problem. Apple replaced the component with mDNSResponder in 10.10.4 which solved the issue. If you are running 10.10 to 10.10.3, you should upgrade immediately to 10.10.5 which is more stable with plenty of bug fixes.