OSDN Git Service

staging: ks7010: Fix line over 80 characters.
authorQuytelda Kahja <quytelda@tamalin.org>
Fri, 23 Mar 2018 05:07:39 +0000 (22:07 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Mar 2018 14:58:32 +0000 (15:58 +0100)
There is no reason for comment describing the BSSID check for loop
to be spaced so far to the right.  Move it above the for loop.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_hostif.c

index 3ef9126..534cca9 100644 (file)
@@ -777,7 +777,8 @@ void hostif_scan_indication(struct ks_wlan_private *priv)
        ap_info = (struct ap_info_t *)(priv->rxp);
 
        if (priv->scan_ind_count) {
-               for (i = 0; i < priv->aplist.size; i++) {       /* bssid check */
+               /* bssid check */
+               for (i = 0; i < priv->aplist.size; i++) {
                        if (memcmp(ap_info->bssid,
                                   priv->aplist.ap[i].bssid, ETH_ALEN) != 0)
                                continue;