Merge "Fixed batch scan returning status 12 when restarted." into lmp-dev