eiwd

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

commit 3788156f3931634f171b70d76fa00db291c7d649
parent 3c28c5c24ccad2844cfc38fc10ef3d51664d33d5
Author: Denis Kenzior <denkenz@gmail.com>
Date:   Fri, 17 Aug 2018 14:42:07 -0500

netdev: Don't use device_get_ifindex in join_adhoc

This is pointless as the ifindex is already available on the netdev
object.

Diffstat:
Msrc/netdev.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/netdev.c b/src/netdev.c @@ -2666,7 +2666,7 @@ int netdev_join_adhoc(struct netdev *netdev, const char *ssid, void *user_data) { struct l_genl_msg *cmd; - uint32_t ifindex = device_get_ifindex(netdev->device); + uint32_t ifindex = netdev->index; uint32_t ch_freq = scan_channel_to_freq(6, SCAN_BAND_2_4_GHZ); uint32_t ch_type = NL80211_CHAN_HT20;