aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath')
-rw-r--r--drivers/net/wireless/ath/ath6kl/core.c2
-rw-r--r--drivers/net/wireless/ath/ath6kl/main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/core.c b/drivers/net/wireless/ath/ath6kl/core.c
index d078aedfbf77..d5c06c0dddab 100644
--- a/drivers/net/wireless/ath/ath6kl/core.c
+++ b/drivers/net/wireless/ath/ath6kl/core.c
@@ -156,8 +156,6 @@ int ath6kl_core_init(struct ath6kl *ar)
156 156
157 set_bit(FIRST_BOOT, &ar->flag); 157 set_bit(FIRST_BOOT, &ar->flag);
158 158
159 ndev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_RXCSUM;
160
161 ret = ath6kl_init_hw_start(ar); 159 ret = ath6kl_init_hw_start(ar);
162 if (ret) { 160 if (ret) {
163 ath6kl_err("Failed to start hardware: %d\n", ret); 161 ath6kl_err("Failed to start hardware: %d\n", ret);
diff --git a/drivers/net/wireless/ath/ath6kl/main.c b/drivers/net/wireless/ath/ath6kl/main.c
index 0d6e352bfb17..f804cf135a60 100644
--- a/drivers/net/wireless/ath/ath6kl/main.c
+++ b/drivers/net/wireless/ath/ath6kl/main.c
@@ -1212,5 +1212,7 @@ void init_netdev(struct net_device *dev)
1212 sizeof(struct wmi_data_hdr) + HTC_HDR_LENGTH 1212 sizeof(struct wmi_data_hdr) + HTC_HDR_LENGTH
1213 + WMI_MAX_TX_META_SZ + ATH6KL_HTC_ALIGN_BYTES; 1213 + WMI_MAX_TX_META_SZ + ATH6KL_HTC_ALIGN_BYTES;
1214 1214
1215 dev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_RXCSUM;
1216
1215 return; 1217 return;
1216} 1218}