Browse Source

Fix ath5k crash on load (#4689)

SVN-Revision: 14652
Florian Fainelli 17 years ago
parent
commit
ba2973b938
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/mac80211/patches/201-ath5k_eeprom.patch

+ 1 - 1
package/mac80211/patches/201-ath5k_eeprom.patch

@@ -12,7 +12,7 @@ Signed-off-by: Felix Fietkau <[email protected]>
  	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;