From 0c571d365d879f7112425038615542cc5fd4657a Mon Sep 17 00:00:00 2001 From: Patrick Boettcher Date: Thu, 10 Feb 2005 16:51:15 +0000 Subject: - fixed MAC address reading (eeprom address to read, was not correctly set, respectively overwritten) --- linux/drivers/media/dvb/b2c2/skystar2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'linux') diff --git a/linux/drivers/media/dvb/b2c2/skystar2.c b/linux/drivers/media/dvb/b2c2/skystar2.c index a170be4fa..588946d94 100644 --- a/linux/drivers/media/dvb/b2c2/skystar2.c +++ b/linux/drivers/media/dvb/b2c2/skystar2.c @@ -236,8 +236,8 @@ static void fixchipaddr(u32 device, u32 bus, u32 addr, u32 *ret) { if (device == 0x20000000) *ret = bus | ((addr >> 8) & 3); - - *ret = bus; + else + *ret = bus; } static u32 flex_i2c_read(struct adapter *adapter, u32 device, u32 bus, u32 addr, u8 *buf, u32 len) -- cgit v1.2.3