Fix for wifi.c error

attempt to fix wifi.c error