Commit a359491a authored by Tobin C. Harding's avatar Tobin C. Harding Committed by Greg Kroah-Hartman

staging: ks7010: fix logical line continuation

Checkpatch emits CHECK: Logical continuations should be on the
previous line.

Move logical continuation to previous line.
Signed-off-by: default avatarTobin C. Harding <me@tobin.cc>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 64068bc3
...@@ -1406,8 +1406,8 @@ static int ks_wlan_set_scan(struct net_device *dev, ...@@ -1406,8 +1406,8 @@ static int ks_wlan_set_scan(struct net_device *dev,
/* for SLEEP MODE */ /* for SLEEP MODE */
/* specified SSID SCAN */ /* specified SSID SCAN */
if (wrqu->data.length == sizeof(struct iw_scan_req) if (wrqu->data.length == sizeof(struct iw_scan_req) &&
&& wrqu->data.flags & IW_SCAN_THIS_ESSID) { wrqu->data.flags & IW_SCAN_THIS_ESSID) {
req = (struct iw_scan_req *)extra; req = (struct iw_scan_req *)extra;
priv->scan_ssid_len = req->essid_len; priv->scan_ssid_len = req->essid_len;
memcpy(priv->scan_ssid, req->essid, priv->scan_ssid_len); memcpy(priv->scan_ssid, req->essid, priv->scan_ssid_len);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment