mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 21:22:37 +01:00
netdev: Set netdev->type to NL80211 enum
This commit is contained in:
parent
0b5a3da2ef
commit
2fe2ed61e1
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user