staging: rtl8192e: Rename rtl8192_MapHwQueueToFirmwareQueue
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 08:13:52 +0000 (10:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:33:50 +0000 (03:33 +0200)
Use naming schema found in other rtlwifi devices.
Rename rtl8192_MapHwQueueToFirmwareQueue to _rtl92e_hw_queue_to_fw_queue.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c

index 61e8d1748f15fd16a413554c1c9324c6619647be..67b2f9f4f16ef748b2411bc30c26e40dc81dedf1 100644 (file)
@@ -1131,8 +1131,8 @@ static u8 _rtl92e_rate_mgn_to_hw(u8 rate)
        return ret;
 }
 
-static u8 rtl8192_MapHwQueueToFirmwareQueue(struct net_device *dev, u8 QueueID,
-                                           u8 priority)
+static u8 _rtl92e_hw_queue_to_fw_queue(struct net_device *dev, u8 QueueID,
+                                      u8 priority)
 {
        u8 QueueSelect = 0x0;
 
@@ -1278,9 +1278,9 @@ void  rtl92e_fill_tx_desc(struct net_device *dev, struct tx_desc *pdesc,
 
        pdesc->PktId = 0x0;
 
-       pdesc->QueueSelect = rtl8192_MapHwQueueToFirmwareQueue(dev,
-                                               cb_desc->queue_index,
-                                               cb_desc->priority);
+       pdesc->QueueSelect = _rtl92e_hw_queue_to_fw_queue(dev,
+                                                         cb_desc->queue_index,
+                                                         cb_desc->priority);
        pdesc->TxFWInfoSize = sizeof(struct tx_fwinfo_8190pci);
 
        pdesc->DISFB = cb_desc->bTxDisableRateFallBack;