From: Venkat Prashanth B U <[email protected]>

This is a patch to rtl8723ae/trx.c file that adds the
function name to the printouts.

Signed-off-by: Venkat Prashanth B U <[email protected]>
---
 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.c 
b/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.c
index 2f7c144..96c5385 100644
--- a/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.c
+++ b/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.c
@@ -389,7 +389,7 @@ void rtl8723e_tx_fill_desc(struct ieee80211_hw *hw,

        if (pci_dma_mapping_error(rtlpci->pdev, mapping)) {
                RT_TRACE(rtlpriv, COMP_SEND, DBG_TRACE,
-                        "DMA mapping error");
+                        "%s():DMA mapping error", __func__);
                return;
        }
        if (mac->opmode == NL80211_IFTYPE_STATION) {
@@ -557,7 +557,7 @@ void rtl8723e_tx_fill_cmddesc(struct ieee80211_hw *hw,

        if (pci_dma_mapping_error(rtlpci->pdev, mapping)) {
                RT_TRACE(rtlpriv, COMP_SEND, DBG_TRACE,
-                        "DMA mapping error");
+                        "%s():DMA mapping error", __func__);
                return;
        }
        CLEAR_PCI_TX_DESC_CONTENT(pdesc, TX_DESC_SIZE);
--
1.9.1

Reply via email to