staging: wilc1000: fix line over 80 char in mgmt_tx_cancel_wait()
authorAjay Singh <ajay.kathat@microchip.com>
Wed, 7 Mar 2018 01:32:28 +0000 (07:02 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Mar 2018 11:59:04 +0000 (12:59 +0100)
Fix 'line over 80 char' issue found in checkpatch.pl script.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c

index 911af68..a93c550 100644 (file)
@@ -1705,9 +1705,13 @@ static int mgmt_tx_cancel_wait(struct wiphy *wiphy,
        wfi_drv->p2p_timeout = jiffies;
 
        if (!priv->p2p_listen_state) {
+               struct wilc_wfi_p2p_listen_params *params;
+
+               params = &priv->remain_on_ch_params;
+
                cfg80211_remain_on_channel_expired(priv->wdev,
-                                                  priv->remain_on_ch_params.listen_cookie,
-                                                  priv->remain_on_ch_params.listen_ch,
+                                                  params->listen_cookie,
+                                                  params->listen_ch,
                                                   GFP_KERNEL);
        }