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

netdev: Set netdev->type to NL80211 enum

This commit is contained in:
Denis Kenzior 2018-06-20 08:23:22 -05:00
parent 0b5a3da2ef
commit 2fe2ed61e1

View File

@ -3470,7 +3470,7 @@ int netdev_set_iftype(struct netdev *netdev, enum netdev_iftype type)
return -EIO;
}
netdev->type = type;
netdev->type = iftype;
return 0;
}