From: Felix Fietkau Date: Sat, 2 Jul 2011 07:48:34 +0000 (+0000) Subject: ath5k: fix a crash when setting coverage class before the first channel change (... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a282dada531afc3ea0eb3d1e57d6971d2fbb97c2;p=openwrt%2Fsvn-archive%2Farchive.git ath5k: fix a crash when setting coverage class before the first channel change (#9586) SVN-Revision: 27352 --- diff --git a/package/mac80211/patches/443-ath5k_initialize_clockrate.patch b/package/mac80211/patches/443-ath5k_initialize_clockrate.patch new file mode 100644 index 0000000000..fedc2f4650 --- /dev/null +++ b/package/mac80211/patches/443-ath5k_initialize_clockrate.patch @@ -0,0 +1,10 @@ +--- 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