Fix ath5k crash on load (#4689)
authorFlorian Fainelli <florian@openwrt.org>
Tue, 24 Feb 2009 09:08:06 +0000 (09:08 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 24 Feb 2009 09:08:06 +0000 (09:08 +0000)
SVN-Revision: 14652

package/mac80211/patches/201-ath5k_eeprom.patch

index 3f62eef..5dfbcf3 100644 (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;