same as above.
my sister's iphone was ultra unstable on our wifi whilst mine was absoluterly fine. i tried switching wifi channels and this would fix it, but only momentarily and it would soon lose connection again. changed to a different router and problems have completely gone.