]> git.baikalelectronics.ru Git - kernel.git/commit
staging: csr: sme_blocking.c: add missing check for return of sme_wait_for_reply
authorDevendra Naga <devendra.aaru@gmail.com>
Thu, 1 Nov 2012 06:24:40 +0000 (02:24 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Nov 2012 15:48:56 +0000 (08:48 -0700)
commit107a7088b9ceaec0fcdd565d7589a7b4be102307
treed160dd7c5e292e6df0afd15530260540caea0b3b
parent963c6ca4f61a09556fd7e72cda197b5cccc69875
staging: csr: sme_blocking.c: add missing check for return of sme_wait_for_reply

sme_ap_config misses a check of the return of the sme_wait_for_reply
as all other functions do here, for the return of sme_wait_for_reply
add the check and fail if it returns other than 0.

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/csr/sme_blocking.c