Commit 55e311d8 authored by Ajay Singh's avatar Ajay Singh Committed by Greg Kroah-Hartman

staging: wilc1000: rename wilc_frmw_to_linux()

Rename wilc_frmw_to_linux() to wilc_frmw_to_host() to be remove the _linux
suffix.
Signed-off-by: default avatarAjay Singh <ajay.kathat@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5e63a598
...@@ -803,7 +803,8 @@ static int wilc_mac_close(struct net_device *ndev) ...@@ -803,7 +803,8 @@ static int wilc_mac_close(struct net_device *ndev)
return 0; return 0;
} }
void wilc_frmw_to_linux(struct wilc *wilc, u8 *buff, u32 size, u32 pkt_offset) void wilc_frmw_to_host(struct wilc *wilc, u8 *buff, u32 size,
u32 pkt_offset)
{ {
unsigned int frame_len = 0; unsigned int frame_len = 0;
int stats; int stats;
......
...@@ -281,7 +281,7 @@ struct wilc_wfi_mon_priv { ...@@ -281,7 +281,7 @@ struct wilc_wfi_mon_priv {
struct net_device *real_ndev; struct net_device *real_ndev;
}; };
void wilc_frmw_to_linux(struct wilc *wilc, u8 *buff, u32 size, u32 pkt_offset); void wilc_frmw_to_host(struct wilc *wilc, u8 *buff, u32 size, u32 pkt_offset);
void wilc_mac_indicate(struct wilc *wilc); void wilc_mac_indicate(struct wilc *wilc);
void wilc_netdev_cleanup(struct wilc *wilc); void wilc_netdev_cleanup(struct wilc *wilc);
int wilc_netdev_init(struct wilc **wilc, struct device *dev, int io_type, int wilc_netdev_init(struct wilc **wilc, struct device *dev, int io_type,
......
...@@ -717,9 +717,8 @@ static void wilc_wlan_handle_rx_buff(struct wilc *wilc, u8 *buffer, int size) ...@@ -717,9 +717,8 @@ static void wilc_wlan_handle_rx_buff(struct wilc *wilc, u8 *buffer, int size)
} else { } else {
if (!is_cfg_packet) { if (!is_cfg_packet) {
if (pkt_len > 0) { if (pkt_len > 0) {
wilc_frmw_to_linux(wilc, buff_ptr, wilc_frmw_to_host(wilc, buff_ptr,
pkt_len, pkt_len, pkt_offset);
pkt_offset);
} }
} else { } else {
struct wilc_cfg_rsp rsp; struct wilc_cfg_rsp rsp;
......
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