]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8192e: Rename cmpk_message_handle_tx
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 19 Jul 2015 17:27:18 +0000 (19:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2015 04:24:10 +0000 (21:24 -0700)
Use naming schema found in other rtlwifi devices.
Rename cmpk_message_handle_tx to rtl92e_send_cmd_pkt.

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

index ebd08a16685ecd7eefb67c5bd924dfcf0599c582..0d9c74d86b153955e426f3faea49ac21daf22e57 100644 (file)
 #include "r8192E_hw.h"
 #include "r8192E_cmdpkt.h"
 
-bool cmpk_message_handle_tx(
-       struct net_device *dev,
-       u8      *code_virtual_address,
-       u32     packettype,
-       u32     buffer_len)
+bool rtl92e_send_cmd_pkt(struct net_device *dev, u8 *code_virtual_address,
+                        u32 packettype, u32 buffer_len)
 {
 
        bool                            rt_status = true;
index f714d5100059ab3d841a59b4f242a725cba21afd..5718fd8fd1189fc87d330bcb1affd7537392c8f5 100644 (file)
@@ -19,7 +19,6 @@
 #ifndef R819XUSB_CMDPKT_H
 #define R819XUSB_CMDPKT_H
 
-extern bool cmpk_message_handle_tx(struct net_device *dev,
-                                  u8 *codevirtualaddress, u32 packettype,
-                                  u32 buffer_len);
+extern bool rtl92e_send_cmd_pkt(struct net_device *dev, u8 *codevirtualaddress,
+                               u32 packettype, u32 buffer_len);
 #endif
index c2367128c59424335feccbbef01d25786967baea..47ead3732a2b2027496c6dcf4c7f040df8e01561 100644 (file)
@@ -674,9 +674,8 @@ static void dm_TXPowerTrackingCallback_TSSI(struct net_device *dev)
                tx_cmd.Op               = TXCMD_SET_TX_PWR_TRACKING;
                tx_cmd.Length   = 4;
                tx_cmd.Value            = Value;
-               cmpk_message_handle_tx(dev, (u8 *)&tx_cmd,
-                                      DESC_PACKET_TYPE_INIT,
-                                      sizeof(struct dcmd_txcmd));
+               rtl92e_send_cmd_pkt(dev, (u8 *)&tx_cmd, DESC_PACKET_TYPE_INIT,
+                                   sizeof(struct dcmd_txcmd));
                mdelay(1);
                for (i = 0; i <= 30; i++) {
                        Pwr_Flag = read_nic_byte(dev, Pw_Track_Flag);