Added a missing status code check

Change-Id: I7e4e3e818cf2e2102c917b6ba980a77106957b43
Signed-off-by: Greg Burns <gburns@qce.qualcomm.com>