aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-02-24 09:08:06 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-02-24 09:08:06 +0000
commit7f22b71ae0336f66638dcb3083a08bef1bf0e0ec (patch)
treea881a21a7d250d3e457f172369f1c80f53793d3d
parent8ae9e2cf0fa0d71682948bb7ba341c07269c1618 (diff)
downloadupstream-7f22b71ae0336f66638dcb3083a08bef1bf0e0ec.tar.gz
upstream-7f22b71ae0336f66638dcb3083a08bef1bf0e0ec.tar.bz2
upstream-7f22b71ae0336f66638dcb3083a08bef1bf0e0ec.zip
Fix ath5k crash on load (#4689)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14652 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/mac80211/patches/201-ath5k_eeprom.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mac80211/patches/201-ath5k_eeprom.patch b/package/mac80211/patches/201-ath5k_eeprom.patch
index 3f62eefb92..5dfbcf3be9 100644
--- a/package/mac80211/patches/201-ath5k_eeprom.patch
+++ b/package/mac80211/patches/201-ath5k_eeprom.patch
@@ -12,7 +12,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
struct ath5k_eeprom_info *ee = &ah->ah_capabilities.cap_eeprom;
int o = *offset;
- int i = 0;
-+ int i;
++ int i = 0 ;
u8 freq1, freq2;
int ret;
u16 val;