1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-05 00:08:53 +03:00

Fix ath5k crash on load (#4689)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14652 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2009-02-24 09:08:06 +00:00
parent f8b8f7c474
commit 9590e3c366

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;