WiFi is supposed to be standardised, but nevertheless a particular brand of adapter will sometimes refuse to work reliably with a particular router. The WiFi adapter is often a small easily replaceable board.