staging: wilc1000: define undefined operation mode
authorJohnny Kim <johnny.kim@atmel.com>
Tue, 8 Sep 2015 08:07:59 +0000 (17:07 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Sep 2015 01:24:45 +0000 (18:24 -0700)
commitc590b9a4c0ec5e3a545887dc83e96466c493613e
tree9e5d19d84f29181f22c136ecfb2c02ec43dfc388
parentac61ef86f971c3fd0d3aff59744423ff32c4fcca
staging: wilc1000: define undefined operation mode

This patch adds new define, IDLE_MODE to change comparison statement which
is wrong due to typecasting to null.

Signed-off-by: Johnny Kim <johnny.kim@atmel.com>
Signed-off-by: Tony Cho <tony.cho@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c
drivers/staging/wilc1000/host_interface.h