omadmadapters/nsmldminternet/src/NSmlWLanAdapter.cpp
changeset 67 fdbfe0a95492
parent 62 03849bd79877
equal deleted inserted replaced
62:03849bd79877 67:fdbfe0a95492
  3027     else if (aURI.Match(_L8("AP/*/NAPDef/*/WLAN/*")) != KErrNotFound
  3027     else if (aURI.Match(_L8("AP/*/NAPDef/*/WLAN/*")) != KErrNotFound
  3028             && NumOfUriSegs(aURI) == 6)
  3028             && NumOfUriSegs(aURI) == 6)
  3029         {
  3029         {
  3030         TBuf<KCommsDbSvrMaxFieldLength> serviceType;
  3030         TBuf<KCommsDbSvrMaxFieldLength> serviceType;
  3031         TUint32 serviceId(NULL);
  3031         TUint32 serviceId(NULL);
  3032         TUint32 lValue;
  3032         TUint32 lValue = 0;
  3033         CCommsDbTableView* napdefView = iDatabase.OpenViewMatchingUintLC(
  3033         CCommsDbTableView* napdefView = iDatabase.OpenViewMatchingUintLC(
  3034                 TPtrC(IAP), TPtrC(COMMDB_ID), DesToInt(aParentLUID));
  3034                 TPtrC(IAP), TPtrC(COMMDB_ID), DesToInt(aParentLUID));
  3035         TInt errorCode = napdefView->GotoFirstRecord();
  3035         TInt errorCode = napdefView->GotoFirstRecord();
  3036         if (errorCode == KErrNone)
  3036         if (errorCode == KErrNone)
  3037             {
  3037             {