stlink: handle error bad-AP