diff options
author | Sergio Paracuellos | 2016-09-28 20:18:59 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2016-10-02 16:59:59 +0200 |
commit | f0ffa0e2a01904764700afa681ba30f7db051e03 (patch) | |
tree | 6a7495e8e0f6308781b603a915883b643e57b311 /drivers/staging/wlan-ng/prism2sta.c | |
parent | staging: wlang-ng: avoid new typedef: hfa384x_HostScanRequest_data_t (diff) | |
download | kernel-qcow2-linux-f0ffa0e2a01904764700afa681ba30f7db051e03.tar.gz kernel-qcow2-linux-f0ffa0e2a01904764700afa681ba30f7db051e03.tar.xz kernel-qcow2-linux-f0ffa0e2a01904764700afa681ba30f7db051e03.zip |
staging: wlang-ng: avoid new typedef: hfa384x_JoinRequest_data_t
This patch fixes the following checkpatch.pl warning in hfa384x.h:
WARNING: do not add new typedefs
It applies for typedef hfa384x_JoinRequest_data_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 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/wlan-ng/prism2sta.c b/drivers/staging/wlan-ng/prism2sta.c index 850cbbc9159c..461eedf2c288 100644 --- a/drivers/staging/wlan-ng/prism2sta.c +++ b/drivers/staging/wlan-ng/prism2sta.c @@ -1037,7 +1037,7 @@ static void prism2sta_inf_scanresults(struct wlandevice *wlandev, int nbss; hfa384x_ScanResult_t *sr = &(inf->info.scanresult); int i; - hfa384x_JoinRequest_data_t joinreq; + struct hfa384x_JoinRequest_data joinreq; int result; /* Get the number of results, first in bytes, then in results */ @@ -1391,7 +1391,7 @@ void prism2sta_processing_defer(struct work_struct *data) * Disable Transmits, Ignore receives of data frames */ if (hw->join_ap && --hw->join_retries > 0) { - hfa384x_JoinRequest_data_t joinreq; + struct hfa384x_JoinRequest_data joinreq; joinreq = hw->joinreq; /* Send the join request */ |