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 Obtain variable from node supplied.



details:   https://anonhg.NetBSD.org/src-all/rev/4a581ba77611
branches:  trunk
changeset: 949608:4a581ba77611
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Thu Sep 03 22:28:15 2020 +1000

description:
Obtain variable from node supplied.

diffstat:

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

diffs (12 lines):

diff -r 570c3e73cad0 -r 4a581ba77611 sys/dev/pci/if_iwm.c
--- a/sys/dev/pci/if_iwm.c      Thu Sep 03 22:25:53 2020 +1000
+++ b/sys/dev/pci/if_iwm.c      Thu Sep 03 22:28:15 2020 +1000
@@ -5806,7 +5806,7 @@
 {
 #define IWM_EXP2(x)    ((1 << (x)) - 1)        /* CWmin = 2^ECWmin - 1 */
        struct ieee80211com *ic = &sc->sc_ic;
-       struct ieee80211_node *ni = ic->ic_bss;
+       struct ieee80211_node *ni = (struct ieee80211_node *)in;
        int cck_ack_rates, ofdm_ack_rates;
        int i;
 



Home | Main Index | Thread Index | Old Index