aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211
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
commitba2973b938c35652333b0f3d6a00d46bcb3acb0e (patch)
tree1a30eb8c3ecee107acfedf43621ba8d9a5555184 /package/mac80211
parent21d7852de0baa1bb6b466a887d227e243df593ee (diff)
downloadupstream-ba2973b938c35652333b0f3d6a00d46bcb3acb0e.tar.gz
upstream-ba2973b938c35652333b0f3d6a00d46bcb3acb0e.tar.bz2
upstream-ba2973b938c35652333b0f3d6a00d46bcb3acb0e.zip
Fix ath5k crash on load (#4689)
SVN-Revision: 14652
Diffstat (limited to 'package/mac80211')
-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;