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:
Larry Finger 2015-03-12 14:14:19 -05:00
parent bb4b1fe327
commit f42ef2ce84
8 changed files with 10 additions and 111 deletions

View file

@ -415,33 +415,12 @@ int hostapd_mode_init(struct adapter *padapter)
pnetdev->stop = mgnt_netdev_close;
pnetdev->hard_start_xmit = mgnt_xmit_entry;
/* pnetdev->set_mac_address = r871x_net_set_mac_address; */
/* pnetdev->get_stats = r871x_net_get_stats; */
/* pnetdev->do_ioctl = r871x_mp_ioctl; */
#endif
pnetdev->watchdog_timeo = HZ; /* 1 second timeout */
/* pnetdev->wireless_handlers = NULL; */
#ifdef CONFIG_TCP_CSUM_OFFLOAD_TX
pnetdev->features |= NETIF_F_IP_CSUM;
#endif
if(dev_alloc_name(pnetdev,"mgnt.wlan%d") < 0)
{
DBG_871X("hostapd_mode_init(): dev_alloc_name, fail! \n");
}
/* SET_NETDEV_DEV(pnetdev, pintfpriv->udev); */
mac[0]=0x00;
mac[1]=0xe0;
@ -457,18 +436,12 @@ int hostapd_mode_init(struct adapter *padapter)
/* Tell the network stack we exist */
if (register_netdev(pnetdev) != 0)
{
if (register_netdev(pnetdev) != 0) {
DBG_871X("hostapd_mode_init(): register_netdev fail!\n");
if(pnetdev)
{
rtw_free_netdev(pnetdev);
}
}
return 0;
}
void hostapd_mode_unload(struct adapter *padapter)