aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/wlan-ng/prism2sta.c
diff options
context:
space:
mode:
authorSergio Paracuellos <sergio.paracuellos@gmail.com>2016-09-28 20:19:16 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-02 17:00:49 +0200
commit5383f13eb1fc77a081a7cf81e437e3141c591d36 (patch)
treea51d2a31bbdb5501fd5ddf77e723db79c3f93514 /drivers/staging/wlan-ng/prism2sta.c
parentstaging: wlang-ng: avoid new typedef: hfa384x_LinkStatus_t (diff)
downloadlinux-dev-5383f13eb1fc77a081a7cf81e437e3141c591d36.tar.xz
linux-dev-5383f13eb1fc77a081a7cf81e437e3141c591d36.zip
staging: wlang-ng: avoid new typedef: hfa384x_AssocStatus_t
This patch fixes the following checkpatch.pl warning in hfa384x.h: WARNING: do not add new typedefs It applies for typedef hfa384x_AssocStatus_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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wlan-ng/prism2sta.c b/drivers/staging/wlan-ng/prism2sta.c
index 7e1c3384c4fa..bc3941c211fc 100644
--- a/drivers/staging/wlan-ng/prism2sta.c
+++ b/drivers/staging/wlan-ng/prism2sta.c
@@ -1471,7 +1471,7 @@ static void prism2sta_inf_assocstatus(struct wlandevice *wlandev,
hfa384x_InfFrame_t *inf)
{
hfa384x_t *hw = wlandev->priv;
- hfa384x_AssocStatus_t rec;
+ struct hfa384x_AssocStatus rec;
int i;
memcpy(&rec, &inf->info.assocstatus, sizeof(rec));