Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src-draft/trunk]: src/sys/dev/pci ni_rstamp -> ni_tstamp. XXX don't know if ...



details:   https://anonhg.NetBSD.org/src-all/rev/751970d05b18
branches:  trunk
changeset: 1026994:751970d05b18
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Thu Sep 24 05:00:23 2020 +1000

description:
ni_rstamp -> ni_tstamp. XXX don't know if this will break anything.

diffstat:

 sys/dev/pci/if_iwm.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r e249b6ba823d -r 751970d05b18 sys/dev/pci/if_iwm.c
--- a/sys/dev/pci/if_iwm.c      Thu Sep 24 04:57:43 2020 +1000
+++ b/sys/dev/pci/if_iwm.c      Thu Sep 24 05:00:23 2020 +1000
@@ -5892,7 +5892,7 @@
        tsf = le64toh(ni->ni_tstamp.tsf);
 
        sta->is_assoc = htole32(assoc);
-       sta->dtim_time = htole32(ni->ni_rstamp + dtim_off);
+       sta->dtim_time = htole32(ni->ni_tstamp + dtim_off);
        sta->dtim_tsf = htole64(tsf + dtim_off);
        sta->bi = htole32(ni->ni_intval);
        sta->bi_reciprocal = htole32(iwm_reciprocal(ni->ni_intval));
@@ -5900,7 +5900,7 @@
        sta->dtim_reciprocal = htole32(iwm_reciprocal(sta->dtim_interval));
        sta->listen_interval = htole32(10);
        sta->assoc_id = htole32(ni->ni_associd);
-       sta->assoc_beacon_arrive_time = htole32(ni->ni_rstamp);
+       sta->assoc_beacon_arrive_time = htole32(ni->ni_tstamp);
 }
 
 static int



Home | Main Index | Thread Index | Old Index