staging: wlan-ng: Replace data type declaration with variable of same type in prism2m...
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Wed, 19 Oct 2016 15:51:30 +0000 (17:51 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Oct 2016 08:48:50 +0000 (10:48 +0200)
commite0e6964805c6427f2c07b5a52820c0163de74010
tree67ddf76dffd0629742372187dad149aa13f63039
parentab42187a17db55c053f20eee3c888dc129b815a3
staging: wlan-ng: Replace data type declaration with variable of same type in prism2mgmt.c

sizeof(var) instead of sizeof(struct XXX) is preferred.

It also fix the following checkpatch.pl script warning:
WARNING: line over 80 characters

Fix this two in prism2mgmt.c file.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/prism2mgmt.c