Wi-Fi issue with MacOS X El Capitan
Exact the same issue.
Only my MBP with El Capitan could not connect to wifi (always turn off and turn on to work for seconds), but just at home, not at office.
I fixed with a firmware update of the router and access point (fritz!box), I also changed wifi radio channel and set wifi standard to n+g+b.