mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-26 10:39:23 +01:00
scan: Rename request triggered cb
This commit is contained in:
parent
df923cd962
commit
8fc7c0e5c4
@ -233,7 +233,7 @@ static unsigned int scan_send_start(struct l_genl_msg **msg,
|
|||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void scan_triggered(struct l_genl_msg *msg, void *userdata)
|
static void scan_request_triggered(struct l_genl_msg *msg, void *userdata)
|
||||||
{
|
{
|
||||||
struct scan_context *sc = userdata;
|
struct scan_context *sc = userdata;
|
||||||
struct scan_request *sr = sc->current_sr;
|
struct scan_request *sr = sc->current_sr;
|
||||||
@ -450,7 +450,7 @@ static int scan_request_send_next(struct scan_context *sc,
|
|||||||
if (!cmd)
|
if (!cmd)
|
||||||
return -ENOMSG;
|
return -ENOMSG;
|
||||||
|
|
||||||
sc->start_cmd_id = scan_send_start(&cmd, scan_triggered, sc);
|
sc->start_cmd_id = scan_send_start(&cmd, scan_request_triggered, sc);
|
||||||
if (sc->start_cmd_id) {
|
if (sc->start_cmd_id) {
|
||||||
sc->triggered = false;
|
sc->triggered = false;
|
||||||
sc->current_sr = sr;
|
sc->current_sr = sr;
|
||||||
|
Loading…
Reference in New Issue
Block a user