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 Reorder getradiocaps.



details:   https://anonhg.NetBSD.org/src-all/rev/d21bd94afb57
branches:  trunk
changeset: 950477:d21bd94afb57
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Tue May 12 04:00:02 2020 +1000

description:
Reorder getradiocaps.

diffstat:

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

diffs (19 lines):

diff -r cfc09e62d9c9 -r d21bd94afb57 sys/dev/pci/if_iwn.c
--- a/sys/dev/pci/if_iwn.c      Tue May 12 03:59:29 2020 +1000
+++ b/sys/dev/pci/if_iwn.c      Tue May 12 04:00:02 2020 +1000
@@ -590,7 +590,6 @@
        }
 #endif /* !IEEE80211_NO_HT */
 
-       ic->ic_getradiocaps = iwn_getradiocaps;
        ic->ic_txstream = sc->ntxchains;
        ic->ic_rxstream = sc->nrxchains;
 
@@ -620,6 +619,7 @@
 
        ic->ic_vap_create = iwn_vap_create;
        ic->ic_vap_delete = iwn_vap_delete;
+       ic->ic_getradiocaps = iwn_getradiocaps;
        ic->ic_parent = iwn_parent;
        ic->ic_scan_start = iwn_scan;
        ic->ic_scan_end = iwn_scan_end;



Home | Main Index | Thread Index | Old Index