tools/80211: correct array index
wh->i_dur is a two byte value; not a single byte set twice Reported by: swildner@DragonFlyBSD.org
This commit is contained in:
parent
7a16dacdfa
commit
1983a2326b
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user