bluetoothengine/btaudioman/src/basrvaccstatequery.cpp
branchRCL_3
changeset 11 a42ed326b458
parent 6 6a29d5ad0713
equal deleted inserted replaced
10:0707dd69d236 11:a42ed326b458
   131     
   131     
   132     // Take HFP supported feature from BTMAC if it is not available
   132     // Take HFP supported feature from BTMAC if it is not available
   133     if ( ( AccInfo().iConnProfiles & EHFP ) && 
   133     if ( ( AccInfo().iConnProfiles & EHFP ) && 
   134          AccInfo().iSupportedFeatures[TAccInfo::EHFPIndex] == 0 )
   134          AccInfo().iSupportedFeatures[TAccInfo::EHFPIndex] == 0 )
   135         {
   135         {
   136         CBTAccPlugin* plugin = Parent().AccMan().PluginMan().Plugin(EHFP);;
   136         CBTAccPlugin* plugin = Parent().AccMan().PluginMan().Plugin(EHFP);
   137         AccInfo().SetSupportedFeature((TUint16)plugin->GetRemoteSupportedFeature(), TAccInfo::EHFPIndex);
   137         AccInfo().SetSupportedFeature((TUint16)plugin->GetRemoteSupportedFeature(), TAccInfo::EHFPIndex);
   138         }
   138         }
   139     
   139     
   140     // if e.g. A2DP is supported by headset but BTSAC is not in ROM, filter it.
   140     // if e.g. A2DP is supported by headset but BTSAC is not in ROM, filter it.
   141     Parent().AccMan().FilterProfileSupport(AccInfo());
   141     Parent().AccMan().FilterProfileSupport(AccInfo());