mirror of
https://github.com/albfan/miraclecast.git
synced 2025-03-09 23:38:56 +00:00
miracle-wifid: fix the timing of notification of P2P availability
Change-Id: I86c453256b614022db5d941d64984f9eecd4ef39
This commit is contained in:
parent
91ef1b79ff
commit
c44f2dbcec
2 changed files with 4 additions and 3 deletions
|
@ -1526,11 +1526,12 @@ static void supplicant_try_ready(struct supplicant *s)
|
|||
s->has_wfd = false;
|
||||
|
||||
s->running = true;
|
||||
link_supplicant_started(s->l);
|
||||
link_supplicant_p2p_state_known(s->l, s->has_p2p ? 1 : -1);
|
||||
|
||||
LINK_FOREACH_PEER(p, s->l)
|
||||
peer_supplicant_started(p);
|
||||
|
||||
link_supplicant_started(s->l);
|
||||
link_supplicant_p2p_state_known(s->l, s->has_p2p ? 1 : -1);
|
||||
}
|
||||
|
||||
static int supplicant_p2p_set_disallow_freq_fn(struct wpas *w,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue