mac80211: backport latest version from trunk as of r27395
[openwrt-10.03/.git] / package / mac80211 / patches / 443-ath5k_initialize_clockrate.patch
diff --git a/package/mac80211/patches/443-ath5k_initialize_clockrate.patch b/package/mac80211/patches/443-ath5k_initialize_clockrate.patch
new file mode 100644 (file)
index 0000000..fedc2f4
--- /dev/null
@@ -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