Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic Use ieee80211_media_status



details:   https://anonhg.NetBSD.org/src/rev/9eab8c4dbedb
branches:  trunk
changeset: 828533:9eab8c4dbedb
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Mon Dec 18 12:42:21 2017 +0000

description:
Use ieee80211_media_status

diffstat:

 sys/dev/ic/bwfm.c |  10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diffs (38 lines):

diff -r fd4b66468b52 -r 9eab8c4dbedb sys/dev/ic/bwfm.c
--- a/sys/dev/ic/bwfm.c Mon Dec 18 12:36:16 2017 +0000
+++ b/sys/dev/ic/bwfm.c Mon Dec 18 12:42:21 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bwfm.c,v 1.5 2017/12/18 12:36:16 jmcneill Exp $ */
+/* $NetBSD: bwfm.c,v 1.6 2017/12/18 12:42:21 jmcneill Exp $ */
 /* $OpenBSD: bwfm.c,v 1.5 2017/10/16 22:27:16 patrick Exp $ */
 /*
  * Copyright (c) 2010-2016 Broadcom Corporation
@@ -60,7 +60,6 @@
 void    bwfm_watchdog(struct ifnet *);
 int     bwfm_ioctl(struct ifnet *, u_long, void *);
 int     bwfm_media_change(struct ifnet *);
-void    bwfm_media_status(struct ifnet *, struct ifmediareq *);
 
 int     bwfm_send_mgmt(struct ieee80211com *, struct ieee80211_node *,
             int, int);
@@ -257,7 +256,7 @@
        ic->ic_recv_mgmt = bwfm_recv_mgmt;
        ic->ic_crypto.cs_key_set = bwfm_key_set;
        ic->ic_crypto.cs_key_delete = bwfm_key_delete;
-       ieee80211_media_init(ic, bwfm_media_change, bwfm_media_status);
+       ieee80211_media_init(ic, bwfm_media_change, ieee80211_media_status);
 
        ieee80211_announce(ic);
 
@@ -765,11 +764,6 @@
        return 0;
 }
 
-void
-bwfm_media_status(struct ifnet *ifp, struct ifmediareq *imr)
-{
-}
-
 /* Chip initialization (SDIO, PCIe) */
 int
 bwfm_chip_attach(struct bwfm_softc *sc)



Home | Main Index | Thread Index | Old Index