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/2eb6ead1ce1c
branches:  trunk
changeset: 989211:2eb6ead1ce1c
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 dfdc3f524293 -r 2eb6ead1ce1c 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
@@ -663,7 +663,6 @@
        }
 #endif /* !IEEE80211_NO_HT */
 
-       ic->ic_getradiocaps = iwn_getradiocaps;
        ic->ic_txstream = sc->ntxchains;
        ic->ic_rxstream = sc->nrxchains;
 
@@ -693,6 +692,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