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); |
331 User::LeaveIfError(macFile.Read(macAddress,12)); |
332 User::LeaveIfError(macFile.Read(macAddress,12)); |
332 macFile.Close(); |
333 CleanupStack::PopAndDestroy(&macFile); |
333 fileSrv.Close(); |
334 fileSrv.Close(); |
334 controlBuf.SetLength(8); |
335 controlBuf.SetLength(8); |
335 controlBuf[0] = KEthSpeed10BaseT; |
336 controlBuf[0] = KEthSpeed10BaseT; |
336 controlBuf[1] = KEthDuplexHalf; |
337 controlBuf[1] = KEthDuplexHalf; |
337 |
338 |