tools/w00t: Fix double assignment.
authorSascha Wildner <saw@online.de>
Tue, 20 Feb 2018 06:57:52 +0000 (07:57 +0100)
committerSascha Wildner <saw@online.de>
Tue, 20 Feb 2018 06:57:52 +0000 (07:57 +0100)
tools/tools/net80211/w00t/ap/ap.c

index 000fb0e..78491ec 100644 (file)
@@ -389,7 +389,7 @@ void send_cts(struct params *p, char *mac)
        wh->i_fc[0] |= IEEE80211_FC0_TYPE_CTL;
        wh->i_fc[0] |= IEEE80211_FC0_SUBTYPE_CTS;
        wh->i_dur[0] = 0x69;
-       wh->i_dur[0] = 0x00;
+       wh->i_dur[1] = 0x00;
        memcpy(wh->i_addr1, mac, 6);
 
        send_frame(p, wh, 10);