Xinqi Bao's Git
projects
/
slstatus.git
/ diff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
| inline |
side by side
(parent:
f3c23f0
)
load_ieee80211_nodereq: Fix typo
author
Aaron Marcher <
[email protected]
>
Wed, 16 May 2018 21:08:33 +0000
(23:08 +0200)
committer
Aaron Marcher <
[email protected]
>
Wed, 16 May 2018 21:08:33 +0000
(23:08 +0200)
components/wifi.c
diff
|
blob
|
history
diff --git
a/components/wifi.c
b/components/wifi.c
index
78acb3f
..
bc7f4a3
100644
(file)
--- a/
components/wifi.c
+++ b/
components/wifi.c
@@
-106,7
+106,7
@@
{
struct ieee80211_bssid bssid;
int sockfd;
- memset(&bssid, 0, sizeof(bssid);
+ memset(&bssid, 0, sizeof(bssid)
)
;
memset(nr, 0, sizeof(struct ieee80211_nodereq));
if ((sockfd = socket(AF_INET, SOCK_DGRAM, 0)) == -1) {
fprintf(stderr, "socket 'AF_INET': %s\n",