mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2024-11-22 21:45:22 +00:00
corrected interface name
This commit is contained in:
parent
62543696f1
commit
4955a5a8d6
@ -725,9 +725,15 @@ static const struct net_device_ops rtw_netdev_ops = {
|
|||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
static const struct device_type wlan_type = {
|
||||||
|
.name = "wlan",
|
||||||
|
};
|
||||||
|
|
||||||
int rtw_init_netdev_name(struct net_device *pnetdev, const char *ifname)
|
int rtw_init_netdev_name(struct net_device *pnetdev, const char *ifname)
|
||||||
{
|
{
|
||||||
_adapter *padapter = rtw_netdev_priv(pnetdev);
|
_adapter *padapter;
|
||||||
|
pnetdev->dev.type = &wlan_type;
|
||||||
|
padapter = rtw_netdev_priv(pnetdev);
|
||||||
|
|
||||||
#ifdef CONFIG_EASY_REPLACEMENT
|
#ifdef CONFIG_EASY_REPLACEMENT
|
||||||
struct net_device *TargetNetdev = NULL;
|
struct net_device *TargetNetdev = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user