]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8188eu: Revert part of "staging: rtl8188eu: fix comments with lines over...
authorHans de Goede <hdegoede@redhat.com>
Thu, 2 Nov 2017 09:30:11 +0000 (10:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Nov 2017 10:58:22 +0000 (11:58 +0100)
commite3933cc93991d5c0cf5e98d54091e15b3eb2a066
treeea57f231c574e685db0f38765c7af4298451d2b7
parentc2be608cdbd57c70d40c3dfb078853345ce0d334
staging: rtl8188eu: Revert part of "staging: rtl8188eu: fix comments with lines over 80 characters"

Commit ea57cb6e6ddb ("staging: rtl8188eu: fix comments with lines over 80
characters") not only changed comments but also changed an if check:

-if (pmlmepriv->cur_network.join_res != true) {
+if (!(pmlmepriv->cur_network.join_res)) {

This is not equivalent as join_res is an int and can have values such
as -2 and -3.

Note for the next time, please only make one type of changes in a single
clean-up commit.

Fixes: ea57cb6e6ddb ("staging: rtl8188eu: fix comments with lines over 80 ...")
Cc: Juliana Rodrigues <juliana.orod@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_ap.c