staging: ozwpan: Return error, if PD is not connected.
authorRupesh Gujare <rupesh.gujare@atmel.com>
Wed, 28 Aug 2013 11:43:16 +0000 (12:43 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Aug 2013 22:18:40 +0000 (15:18 -0700)
commit8503f9016f01d01b4c3a1e8c9848d4f564e71bd1
treeb4d722c564ac4b430a9d88d71558eec8874d86ae
parentb93d85f007177076c07acd8bf249dc466a977260
staging: ozwpan: Return error, if PD is not connected.

Return error if we receive write(), while PD is not connected.

Signed-off-by: Rupesh Gujare <rupesh.gujare@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ozwpan/ozcdev.c