staging: rtl8192e: Fix potential null dereference

check memory is allocated in '*challenge' before using it.

Signed-off-by: Hema Prathaban <hemaklnce@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Hema Prathaban 2013-05-14 20:59:19 +05:30 • committed by Greg Kroah-Hartman
commit ae053253a7