mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-19 17:11:03 +00:00
staging: rtl8188eu: Revert part of "staging: rtl8188eu: fix comments with lines over 80 characters"
[ Upstream commit4004a9870b
] Commit74e1e498e8
("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:74e1e498e8
("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> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
7018a57cf7
commit
3c5fed838b
1 changed files with 1 additions and 1 deletions
|
@ -754,7 +754,7 @@ static void start_bss_network(struct adapter *padapter, u8 *pbuf)
|
|||
}
|
||||
|
||||
/* setting only at first time */
|
||||
if (!(pmlmepriv->cur_network.join_res)) {
|
||||
if (pmlmepriv->cur_network.join_res != true) {
|
||||
/* WEP Key will be set before this function, do not
|
||||
* clear CAM.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue