Просмотр исходного кода

qcacld-3.0: Fix return type mismatch in start_xmit functions

Function declaration and definition has return type mismatch.
Hence fix this.

Change-Id: Icf5f6c435811b7d0801da10bb6f1dfb322cc8dc8
CRs-Fixed: 2208843
Srinivas Girigowda 7 лет назад
Родитель
Сommit
de28a9df54
2 измененных файлов с 3 добавлено и 3 удалено
  1. 2 2
      core/hdd/inc/wlan_hdd_softap_tx_rx.h
  2. 1 1
      core/hdd/inc/wlan_hdd_tx_rx.h

+ 2 - 2
core/hdd/inc/wlan_hdd_softap_tx_rx.h

@@ -37,8 +37,8 @@
 #include <wlan_hdd_hostapd.h>
 #include <cdp_txrx_peer_ops.h>
 
-int hdd_softap_hard_start_xmit(struct sk_buff *skb,
-			       struct net_device *dev);
+netdev_tx_t hdd_softap_hard_start_xmit(struct sk_buff *skb,
+				       struct net_device *dev);
 void hdd_softap_tx_timeout(struct net_device *dev);
 QDF_STATUS hdd_softap_init_tx_rx(struct hdd_adapter *adapter);
 QDF_STATUS hdd_softap_deinit_tx_rx(struct hdd_adapter *adapter);

+ 1 - 1
core/hdd/inc/wlan_hdd_tx_rx.h

@@ -59,7 +59,7 @@ struct hdd_context;
 #define SME_QOS_UAPSD_CFG_VI_CHANGED_MASK     0xF4
 #define SME_QOS_UAPSD_CFG_VO_CHANGED_MASK     0xF8
 
-int hdd_hard_start_xmit(struct sk_buff *skb, struct net_device *dev);
+netdev_tx_t hdd_hard_start_xmit(struct sk_buff *skb, struct net_device *dev);
 void hdd_tx_timeout(struct net_device *dev);
 
 QDF_STATUS hdd_init_tx_rx(struct hdd_adapter *adapter);