mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 18:09:57 +00:00
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>
This commit is contained in:
parent
be704e5832
commit
89e13b4590
1 changed files with 1 additions and 1 deletions
|
@ -323,7 +323,7 @@ static int prism2_scan(struct wiphy *wiphy,
|
|||
|
||||
priv->scan_request = request;
|
||||
|
||||
memset(&msg1, 0x00, sizeof(struct p80211msg_dot11req_scan));
|
||||
memset(&msg1, 0x00, sizeof(msg1));
|
||||
msg1.msgcode = DIDmsg_dot11req_scan;
|
||||
msg1.bsstype.data = P80211ENUM_bsstype_any;
|
||||
|
||||
|
|
Loading…
Reference in a new issue