Fix ath5k crash on load (#4689)

SVN-Revision: 14652
master
Florian Fainelli 16 years ago
parent 21d7852de0
commit ba2973b938
  1. 2
      package/mac80211/patches/201-ath5k_eeprom.patch

@ -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;

Loading…
Cancel
Save