3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-10-04 02:18:49 +02:00

netdev: synchronize iftypes with nl80211

Make sure the netdev iftype enumeration is the same as nl80211
This commit is contained in:
Denis Kenzior 2018-08-07 16:11:10 -05:00
parent 6f2fbe32f9
commit 9c6f3ef5c0

View File

@ -56,9 +56,9 @@ enum netdev_watch_event {
}; };
enum netdev_iftype { enum netdev_iftype {
NETDEV_IFTYPE_STATION, NETDEV_IFTYPE_ADHOC = 1,
NETDEV_IFTYPE_AP, NETDEV_IFTYPE_STATION = 2,
NETDEV_IFTYPE_ADHOC NETDEV_IFTYPE_AP = 3,
}; };
typedef void (*netdev_command_func_t) (bool result, void *user_data); typedef void (*netdev_command_func_t) (bool result, void *user_data);