staging: rtl8192e: Fix log spamming in rtl8192_hard_data_xmit
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Wed, 12 Aug 2015 19:54:49 +0000 (21:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Aug 2015 01:56:55 +0000 (18:56 -0700)
commit435009bba4d0449b611bc24ae5c9636ac5b2a00e
tree76fb802dff713dafdb8130f98ee30d991c0c2306
parentbda9e24909b58c90adb4dd03663d250a5c872fb8
staging: rtl8192e: Fix log spamming in rtl8192_hard_data_xmit

This patch fixes issue generated by commit ca93dcba3a92
("staging: rtl8192e: Remove assert() macro")

One negation was missed in conversion, therefore
asserted message was always printed.
For 1MB file downloaded via http, ~500 messages
were generated.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_core.c