diff options
author | 2016-09-28 20:19:09 +0200 | |
---|---|---|
committer | 2016-10-02 17:00:48 +0200 | |
commit | 4400334b568dbfb3eb0cabe8fadfd5c43e59ca02 (patch) | |
tree | de441e985529f19a9ae9663bf82e7572e999d33f /drivers/staging/wlan-ng/prism2sta.c | |
parent | staging: wlang-ng: avoid new typedef: hfa384x_CommTallies32_t (diff) | |
download | linux-dev-4400334b568dbfb3eb0cabe8fadfd5c43e59ca02.tar.xz linux-dev-4400334b568dbfb3eb0cabe8fadfd5c43e59ca02.zip |
staging: wlang-ng: avoid new typedef: hfa384x_ScanResultSub_t
This patch fixes the following checkpatch.pl warning in hfa384x.h:
WARNING: do not add new typedefs
It applies for typedef hfa384x_ScanResultSub_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 9b95d6ffffc9..8cf81c6a6388 100644 --- a/drivers/staging/wlan-ng/prism2sta.c +++ b/drivers/staging/wlan-ng/prism2sta.c @@ -1043,7 +1043,7 @@ static void prism2sta_inf_scanresults(struct wlandevice *wlandev, /* Get the number of results, first in bytes, then in results */ nbss = (inf->framelen * sizeof(u16)) - sizeof(inf->infotype) - sizeof(inf->info.scanresult.scanreason); - nbss /= sizeof(hfa384x_ScanResultSub_t); + nbss /= sizeof(struct hfa384x_ScanResultSub); /* Print em */ pr_debug("rx scanresults, reason=%d, nbss=%d:\n", |