Fix ath5k crash on load (#4689)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14652 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
8ae9e2cf0f
commit
7f22b71ae0
|
@ -12,7 +12,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
|
||||||
struct ath5k_eeprom_info *ee = &ah->ah_capabilities.cap_eeprom;
|
struct ath5k_eeprom_info *ee = &ah->ah_capabilities.cap_eeprom;
|
||||||
int o = *offset;
|
int o = *offset;
|
||||||
- int i = 0;
|
- int i = 0;
|
||||||
+ int i;
|
+ int i = 0 ;
|
||||||
u8 freq1, freq2;
|
u8 freq1, freq2;
|
||||||
int ret;
|
int ret;
|
||||||
u16 val;
|
u16 val;
|
||||||
|
|
Loading…
Reference in New Issue