diff options
author | Patrick Boettcher <devnull@localhost> | 2005-02-10 16:51:15 +0000 |
---|---|---|
committer | Patrick Boettcher <devnull@localhost> | 2005-02-10 16:51:15 +0000 |
commit | 0c571d365d879f7112425038615542cc5fd4657a (patch) | |
tree | cd0d57031fe255be60c8451c431d5462c452fc26 /linux | |
parent | 359de9165a05a6437c0e380abbbd3b113ecec01a (diff) | |
download | mediapointer-dvb-s2-0c571d365d879f7112425038615542cc5fd4657a.tar.gz mediapointer-dvb-s2-0c571d365d879f7112425038615542cc5fd4657a.tar.bz2 |
- fixed MAC address reading (eeprom address to read, was not correctly set, respectively overwritten)
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/dvb/b2c2/skystar2.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) |