Skip to content
Snippets Groups Projects
Commit 7845c7b5 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

ath5k: fix a crash when setting coverage class before the first channel change (#9586)

SVN-Revision: 27352
parent 4fbc50d8
No related branches found
No related tags found
No related merge requests found
--- a/drivers/net/wireless/ath/ath5k/base.c
+++ b/drivers/net/wireless/ath/ath5k/base.c
@@ -2422,6 +2422,7 @@ ath5k_init_softc(struct ath5k_softc *sc,
common->ah = sc->ah;
common->hw = hw;
common->priv = sc;
+ common->clockrate = 40;
/*
* Cache line size is used to size and align various
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment