am 5d5b041c: LE: Add error status to failed write operation

* commit '5d5b041ca497013df4ecfeb415db3843d0a90eb3':
  LE: Add error status to failed write operation