Fixed crash on ScanFails in OnWlanNotification

Issue #4