aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/wlan-ng/hfa384x_usb.c
diff options
context:
space:
mode:
authorSergio Paracuellos <sergio.paracuellos@gmail.com>2016-09-28 20:19:05 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-02 17:00:48 +0200
commiteb76afc917fd7acc8b33061f39d3f1b566b7c77c (patch)
tree93110f67b27ea6a58b82733f19b7aad216ad4075 /drivers/staging/wlan-ng/hfa384x_usb.c
parentstaging: wlang-ng: avoid new typedef: hfa384x_dbmcommsquality_t (diff)
downloadlinux-dev-eb76afc917fd7acc8b33061f39d3f1b566b7c77c.tar.xz
linux-dev-eb76afc917fd7acc8b33061f39d3f1b566b7c77c.zip
staging: wlang-ng: avoid new typedef: hfa384x_tx_frame_t
This patch fixes the following checkpatch.pl warning in hfa384x.h: WARNING: do not add new typedefs It applies for typedef hfa384x_tx_frame_t Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wlan-ng/hfa384x_usb.c')
-rw-r--r--drivers/staging/wlan-ng/hfa384x_usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng/hfa384x_usb.c
index 9c2931171ec2..044ca4d9ac9a 100644
--- a/drivers/staging/wlan-ng/hfa384x_usb.c
+++ b/drivers/staging/wlan-ng/hfa384x_usb.c
@@ -2566,7 +2566,7 @@ int hfa384x_drvr_txframe(hfa384x_t *hw, struct sk_buff *skb,
union p80211_hdr *p80211_hdr,
struct p80211_metawep *p80211_wep)
{
- int usbpktlen = sizeof(hfa384x_tx_frame_t);
+ int usbpktlen = sizeof(struct hfa384x_tx_frame);
int result;
int ret;
char *ptr;