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 3f62eefb92914120a268ba4bf5adf5a8c0811a25..5dfbcf3be9a2fdeb3a500a907304a36b765d2fe5 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;