mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-23 16:44:20 +00:00
rtl8188eu: Remove CONFIG_TCP_CSUM_OFFLOAD_TX
This change also allows the removal of rtw_set_tx_chksum_offload() as it is now empty. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
bb4b1fe327
commit
f42ef2ce84
8 changed files with 10 additions and 111 deletions
|
@ -594,26 +594,15 @@ struct net_device *rtw_init_netdev(struct adapter *old_padapter)
|
|||
pnetdev->do_ioctl = rtw_ioctl;
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef CONFIG_TCP_CSUM_OFFLOAD_TX
|
||||
pnetdev->features |= NETIF_F_IP_CSUM;
|
||||
#endif
|
||||
/* pnetdev->tx_timeout = NULL; */
|
||||
pnetdev->watchdog_timeo = HZ*3; /* 3 second timeout */
|
||||
#ifdef CONFIG_WIRELESS_EXT
|
||||
pnetdev->wireless_handlers = (struct iw_handler_def *)&rtw_handlers_def;
|
||||
#endif
|
||||
|
||||
#ifdef WIRELESS_SPY
|
||||
/* priv->wireless_data.spy_data = &priv->spy_data; */
|
||||
/* pnetdev->wireless_data = &priv->wireless_data; */
|
||||
#endif
|
||||
|
||||
/* step 2. */
|
||||
loadparam(padapter, pnetdev);
|
||||
|
||||
return pnetdev;
|
||||
|
||||
}
|
||||
|
||||
u32 rtw_start_drv_threads(struct adapter *padapter)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue