]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: rtl8192e: move logical continuation to previous line
authorSantha Meena Ramamoorthy <santhameena13@gmail.com>
Wed, 28 Feb 2018 20:40:48 +0000 (12:40 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Mar 2018 16:21:49 +0000 (17:21 +0100)
Move logical continuation '&&' to the previous line to conform to the
Linux kernel coding style. Issue found using checkpatch.

Signed-off-by: Santha Meena Ramamoorthy <santhameena13@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib_rx.c

index 30f72d220af16db55a1ec68fd0a62dbafd511433..fa580ce1cf43d51e90ae2ee5a2f36817063f36f6 100644 (file)
@@ -2644,8 +2644,8 @@ static inline void rtllib_process_probe_response(
           (network->ssid_len ? 1 : 0))) {
                update_network(ieee, &ieee->current_network, network);
                if ((ieee->current_network.mode == IEEE_N_24G ||
-                    ieee->current_network.mode == IEEE_G)
-                    && ieee->current_network.berp_info_valid) {
+                    ieee->current_network.mode == IEEE_G) &&
+                   ieee->current_network.berp_info_valid) {
                        if (ieee->current_network.erp_value & ERP_UseProtection)
                                ieee->current_network.buseprotection = true;
                        else