Call to wrong function
Fix logic, display device access status