From ceb605a2cc044bef9b28a97dc834aaf002803d26 Mon Sep 17 00:00:00 2001 From: Andrew Zaborowski Date: Thu, 11 Apr 2019 03:10:18 +0200 Subject: [PATCH] dbus: Add p2p iftypes in dbus_iftype_to_string --- src/dbus.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/dbus.c b/src/dbus.c index 1bab1306..5bc32c26 100644 --- a/src/dbus.c +++ b/src/dbus.c @@ -47,6 +47,12 @@ const char *dbus_iftype_to_string(uint32_t iftype) return "station"; case NL80211_IFTYPE_AP: return "ap"; + case NL80211_IFTYPE_P2P_CLIENT: + return "p2p-client"; + case NL80211_IFTYPE_P2P_GO: + return "p2p-go"; + case NL80211_IFTYPE_P2P_DEVICE: + return "p2p-device"; default: break; }