Add processing of case when wifi is not enabled.