diff options
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | 2016-09-28 20:19:08 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-02 17:00:48 +0200 |
commit | cfc6cb1fea8c7414e73f4d3cbeb10e0d6e28ed65 (patch) | |
tree | 4c50c49c958e4c5dafe0c3c734e4deed24e1d5b2 /drivers/staging/wlan-ng/prism2sta.c | |
parent | 07e23b67c53193cfcc8b58184dba017a113cf407 (diff) | |
download | linux-cfc6cb1fea8c7414e73f4d3cbeb10e0d6e28ed65.tar.bz2 |
staging: wlang-ng: avoid new typedef: hfa384x_CommTallies32_t
This patch fixes the following checkpatch.pl warning in hfa384x.h:
WARNING: do not add new typedefs
It applies for typedef hfa384x_CommTallies32_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/prism2sta.c')
-rw-r--r-- | drivers/staging/wlan-ng/prism2sta.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wlan-ng/prism2sta.c b/drivers/staging/wlan-ng/prism2sta.c index 0b09c05378b5..9b95d6ffffc9 100644 --- a/drivers/staging/wlan-ng/prism2sta.c +++ b/drivers/staging/wlan-ng/prism2sta.c @@ -999,7 +999,7 @@ static void prism2sta_inf_tallies(struct wlandevice *wlandev, * record length of the info record. */ - cnt = sizeof(hfa384x_CommTallies32_t) / sizeof(u32); + cnt = sizeof(struct hfa384x_CommTallies32) / sizeof(u32); if (inf->framelen > 22) { dst = (u32 *)&hw->tallies; src32 = (u32 *)&inf->info.commtallies32; |