Fix ath5k crash on load (#4689)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14652 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Florian Fainelli 2009-02-24 09:08:06 +00:00
parent 8ae9e2cf0f
commit 7f22b71ae0
1 changed files with 1 additions and 1 deletions

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;