Pass WiFi as parameter to library function

Ah, that makes sense. Thanks very much!