[PATCH v2] Staging: rtl8192e prohibit deferencing of NULL pointer

2014-06-18 Thread Andreas Platschek
v2: removed braces from if statement If ieee == NULL we jump to rx_dropped. Therefore we have to check again, if ieee == NULL before we use it. Signed-off-by: Andreas Platschek --- drivers/staging/rtl8192e/rtllib_rx.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/driv

[PATCH v2] Staging: rtl8192e prohibit deferencing of NULL pointer

2014-06-18 Thread Andreas Platschek
v2: removed braces from if statement If ieee == NULL we jump to rx_dropped. Therefore we have to check again, if ieee == NULL before we use it. Signed-off-by: Andreas Platschek --- drivers/staging/rtl8192e/rtllib_rx.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/driv