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/3a877e3224e8
branches:  trunk
changeset: 939806:3a877e3224e8
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 ddeb3a15a460 -r 3a877e3224e8 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