Staging: rtl8192e: Fix potential NULL pointer dereference
authorEmil Goode <emilgoode@gmail.com>
Wed, 2 Jul 2014 09:25:51 +0000 (11:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jul 2014 18:49:15 +0000 (11:49 -0700)
commit4fa426021426bb1846b3e86dee74517e481e089f
tree02293b065ad7adaa5b0df0e7f9731f0665d3e297
parentdd3fde11d3642e37f563e43ef10cd03377923e50
Staging: rtl8192e: Fix potential NULL pointer dereference

We need to make sure the struct rtllib_device pointer ieee is not NULL
after the goto rx_dropped label since it is dereferenced there.

Signed-off-by: Emil Goode <emilgoode@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib_rx.c