staging: wlan-ng: Replace data type declaration with variable of same type in cfg80211.c
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Mon, 10 Oct 2016 14:02:18 +0000 (16:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Oct 2016 08:26:20 +0000 (10:26 +0200)
commit89e13b4590d004a64961abb66479bb6cc51143f9
tree34cece511b52dbca22926587a0b07d2a887354ab
parentbe704e58328d4c488677c59e04dd9cec2d9515a2
staging: wlan-ng: Replace data type declaration with variable of same type in cfg80211.c

sizeof(var) instead of sizeof(struct XXX) is preferred.
Fix it in cfg80211.c file.

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