Commit d3127c7a authored by Ajay Singh's avatar Ajay Singh Committed by Greg Kroah-Hartman

staging: wilc1000: fix line over 80 char issue in handle_scan_done()

Fix 'line over 80 characters' issue found by checkpatch.pl script in
handle_scan_done().
Signed-off-by: default avatarAjay Singh <ajay.kathat@microchip.com>
Reviewed-by: default avatarClaudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f3a46b0f
...@@ -886,6 +886,7 @@ static s32 handle_scan_done(struct wilc_vif *vif, enum scan_event evt) ...@@ -886,6 +886,7 @@ static s32 handle_scan_done(struct wilc_vif *vif, enum scan_event evt)
u8 abort_running_scan; u8 abort_running_scan;
struct wid wid; struct wid wid;
struct host_if_drv *hif_drv = vif->hif_drv; struct host_if_drv *hif_drv = vif->hif_drv;
struct user_scan_req *scan_req;
if (evt == SCAN_EVENT_ABORTED) { if (evt == SCAN_EVENT_ABORTED) {
abort_running_scan = 1; abort_running_scan = 1;
...@@ -908,10 +909,10 @@ static s32 handle_scan_done(struct wilc_vif *vif, enum scan_event evt) ...@@ -908,10 +909,10 @@ static s32 handle_scan_done(struct wilc_vif *vif, enum scan_event evt)
return result; return result;
} }
if (hif_drv->usr_scan_req.scan_result) { scan_req = &hif_drv->usr_scan_req;
hif_drv->usr_scan_req.scan_result(evt, NULL, if (scan_req->scan_result) {
hif_drv->usr_scan_req.arg, NULL); scan_req->scan_result(evt, NULL, scan_req->arg, NULL);
hif_drv->usr_scan_req.scan_result = NULL; scan_req->scan_result = NULL;
} }
return result; return result;
......
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