staging: rtl8192u: check return value of read_nic_word_E
authorSalah Triki <salah.triki@acm.org>
Wed, 4 May 2016 03:42:40 +0000 (04:42 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 19 Jun 2016 02:49:02 +0000 (19:49 -0700)
commit2fe9262e7e024b089d6f1962fe1fa06b383d2991
tree49921e4b2dd35b965e682d6caac8b28f53cf548b
parent453e102db531ac1ffa55f3e03c4907c063125859
staging: rtl8192u: check return value of read_nic_word_E

The call of read_nic_word_E may fail, therefore its return value must be
checked and propagated in the case of error.

Signed-off-by: Salah Triki <salah.triki@acm.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r8180_93cx6.c