staging: wilc1000: linux_mon.c: add to check routine
authorLeo Kim <leo.kim@atmel.com>
Mon, 22 Feb 2016 04:11:49 +0000 (13:11 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Feb 2016 19:47:00 +0000 (11:47 -0800)
commit2eaf35c1412a65139d5df677097cd6c6278f30b1
tree608da64c40c61e0ab62e87e18159ddf6442d0cf6
parentd892c97c889a775fa88c16f00922403def56a2c5
staging: wilc1000: linux_mon.c: add to check routine

This patch adds the return value which needs the check and
prints the error message when it fails.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_mon.c