staging: ks7010: fix logical line continuation
authorTobin C. Harding <me@tobin.cc>
Mon, 13 Mar 2017 22:54:02 +0000 (09:54 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Mar 2017 00:08:15 +0000 (08:08 +0800)
Checkpatch emits CHECK: Logical continuations should be on the
previous line.

Move logical continuation to previous line.

Signed-off-by: Tobin C. Harding <me@tobin.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_wlan_net.c

index 1ff19480ae51782524014cc005b42935f2e11692..d843793d8504953d164423d8afb007cd20a568cd 100644 (file)
@@ -1406,8 +1406,8 @@ static int ks_wlan_set_scan(struct net_device *dev,
 
        /* for SLEEP MODE */
        /* specified SSID SCAN */
-       if (wrqu->data.length == sizeof(struct iw_scan_req)
-           && wrqu->data.flags & IW_SCAN_THIS_ESSID) {
+       if (wrqu->data.length == sizeof(struct iw_scan_req) &&
+           wrqu->data.flags & IW_SCAN_THIS_ESSID) {
                req = (struct iw_scan_req *)extra;
                priv->scan_ssid_len = req->essid_len;
                memcpy(priv->scan_ssid, req->essid, priv->scan_ssid_len);