Commit 12656e2b authored by Mateusz Kulikowski's avatar Mateusz Kulikowski Committed by Greg Kroah-Hartman

staging: rtl8192e: Rename cmpk_message_handle_tx

Use naming schema found in other rtlwifi devices.
Rename cmpk_message_handle_tx to rtl92e_send_cmd_pkt.
Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2497ef5b
...@@ -21,11 +21,8 @@ ...@@ -21,11 +21,8 @@
#include "r8192E_hw.h" #include "r8192E_hw.h"
#include "r8192E_cmdpkt.h" #include "r8192E_cmdpkt.h"
bool cmpk_message_handle_tx( bool rtl92e_send_cmd_pkt(struct net_device *dev, u8 *code_virtual_address,
struct net_device *dev, u32 packettype, u32 buffer_len)
u8 *code_virtual_address,
u32 packettype,
u32 buffer_len)
{ {
bool rt_status = true; bool rt_status = true;
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#ifndef R819XUSB_CMDPKT_H #ifndef R819XUSB_CMDPKT_H
#define R819XUSB_CMDPKT_H #define R819XUSB_CMDPKT_H
extern bool cmpk_message_handle_tx(struct net_device *dev, extern bool rtl92e_send_cmd_pkt(struct net_device *dev, u8 *codevirtualaddress,
u8 *codevirtualaddress, u32 packettype, u32 packettype, u32 buffer_len);
u32 buffer_len);
#endif #endif
...@@ -674,9 +674,8 @@ static void dm_TXPowerTrackingCallback_TSSI(struct net_device *dev) ...@@ -674,9 +674,8 @@ static void dm_TXPowerTrackingCallback_TSSI(struct net_device *dev)
tx_cmd.Op = TXCMD_SET_TX_PWR_TRACKING; tx_cmd.Op = TXCMD_SET_TX_PWR_TRACKING;
tx_cmd.Length = 4; tx_cmd.Length = 4;
tx_cmd.Value = Value; tx_cmd.Value = Value;
cmpk_message_handle_tx(dev, (u8 *)&tx_cmd, rtl92e_send_cmd_pkt(dev, (u8 *)&tx_cmd, DESC_PACKET_TYPE_INIT,
DESC_PACKET_TYPE_INIT, sizeof(struct dcmd_txcmd));
sizeof(struct dcmd_txcmd));
mdelay(1); mdelay(1);
for (i = 0; i <= 30; i++) { for (i = 0; i <= 30; i++) {
Pwr_Flag = read_nic_byte(dev, Pw_Track_Flag); Pwr_Flag = read_nic_byte(dev, Pw_Track_Flag);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment