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/2933be65e013
branches:  trunk
changeset: 987068:2933be65e013
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 2c71dbf7ff2f -r 2933be65e013 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