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/1d45588033af
branches:  trunk
changeset: 933408:1d45588033af
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 6826a1fd344f -r 1d45588033af 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