load_ieee80211_nodereq: Fix typo
Aaron Marcher me@drkhsh.at
Wed, 16 May 2018 23:08:33 +0200
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
components/wifi.c
→
components/wifi.c
@@ -106,7 +106,7 @@ load_ieee80211_nodereq(const char *iface, struct ieee80211_nodereq *nr)
{ 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",