staging: ozwpan: Fix wrong error check.
authorRupesh Gujare <rupesh.gujare@atmel.com>
Fri, 23 Aug 2013 15:11:01 +0000 (16:11 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Aug 2013 17:12:32 +0000 (10:12 -0700)
schedule_work() returns true if succeeded & false on failure,
error check was doing exactly reverse.
Also removes extra variable.

Signed-off-by: Rupesh Gujare <rupesh.gujare@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

No differences found