dbus: Add p2p iftypes in dbus_iftype_to_string

This commit is contained in:
Andrew Zaborowski 2019-04-11 03:10:18 +02:00 committed by Denis Kenzior
parent e343162531
commit ceb605a2cc
1 changed files with 6 additions and 0 deletions

View File

@ -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;
}