Fix ath5k crash on load (#4689)

SVN-Revision: 14652
This commit is contained in:
Florian Fainelli 2009-02-24 09:08:06 +00:00
parent 21d7852de0
commit ba2973b938

View File

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