diff options
author | Ajay Singh <ajay.kathat@microchip.com> | 2018-03-07 04:32:28 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-14 14:59:04 +0300 |
commit | a15b48bebf3218709b26e436f7f29ce1946fe7ef (patch) | |
tree | d240b382b2786f7d603f4b1d63bfadc2da502587 /drivers/staging/wilc1000 | |
parent | 0a0dac38d4060d2bd9d5a16e999a2f8ee337d04e (diff) | |
download | linux-a15b48bebf3218709b26e436f7f29ce1946fe7ef.tar.xz |
staging: wilc1000: fix line over 80 char in mgmt_tx_cancel_wait()
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>
Diffstat (limited to 'drivers/staging/wilc1000')
-rw-r--r-- | drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c index 911af68c8bdb..a93c550fadd3 100644 --- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c +++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c @@ -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); } |