equal
deleted
inserted
replaced
326 RFile macFile; |
326 RFile macFile; |
327 RFs fileSrv; |
327 RFs fileSrv; |
328 |
328 |
329 User::LeaveIfError(fileSrv.Connect()); |
329 User::LeaveIfError(fileSrv.Connect()); |
330 User::LeaveIfError(macFile.Open(fileSrv,KEtherMacFileName,EFileRead)); |
330 User::LeaveIfError(macFile.Open(fileSrv,KEtherMacFileName,EFileRead)); |
331 CleanupClosePushL(macFile); |
|
332 User::LeaveIfError(macFile.Read(macAddress,12)); |
331 User::LeaveIfError(macFile.Read(macAddress,12)); |
333 CleanupStack::PopAndDestroy(&macFile); |
332 macFile.Close(); |
334 fileSrv.Close(); |
333 fileSrv.Close(); |
335 controlBuf.SetLength(8); |
334 controlBuf.SetLength(8); |
336 controlBuf[0] = KEthSpeed10BaseT; |
335 controlBuf[0] = KEthSpeed10BaseT; |
337 controlBuf[1] = KEthDuplexHalf; |
336 controlBuf[1] = KEthDuplexHalf; |
338 |
337 |