eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit ef902c5f7ec2abf11b171e862743eab110f59385
parent 520ad56f83e67554ceb01340025db42bfb517e33
Author: Andrew Zaborowski <andrew.zaborowski@intel.com>
Date:   Tue, 29 Sep 2020 18:37:08 +0200

p2p: Fix adding peers from Probe Request info

Make sure dev->peer_list is non-NULL before using l_queue_push_tail()
same as we do when the peer info comes from a Probe Response (active
scan in Find Phase).  Otherwise peers discovered through Probe Requests
before any Probe Responses are received will be lost.

Diffstat:
Msrc/p2p.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/p2p.c b/src/p2p.c @@ -3747,6 +3747,9 @@ static void p2p_device_probe_cb(const struct mmpdu_header *mpdu, */ peer->device_addr = bss->addr; + if (!dev->peer_list) + dev->peer_list = l_queue_new(); + if (!p2p_device_peer_add(dev, peer)) p2p_peer_free(peer);