1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-27 12:39:53 +02:00
openwrt-xburst/package/mac80211/patches/443-ath5k_initialize_clockrate.patch
nbd f1f0396718 ath5k: fix a crash when setting coverage class before the first channel change (#9586)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27352 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 07:48:34 +00:00

11 lines
302 B
Diff

--- 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