summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/ral/if_ral.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ral/if_ral.c b/sys/dev/ral/if_ral.c
index f552a40..9b56ee7 100644
--- a/sys/dev/ral/if_ral.c
+++ b/sys/dev/ral/if_ral.c
@@ -921,6 +921,7 @@ ral_key_alloc(struct ieee80211com *ic, const struct ieee80211_key *k)
static int
ral_media_change(struct ifnet *ifp)
{
+ struct ral_softc *sc = ifp->if_softc;
int error;
error = ieee80211_media_change(ifp);
OpenPOWER on IntegriCloud