diff -r ea6e024ea6f9 -r 68f0c7cd80ec bearermanagement/mpm/src/mpmiapselection.cpp --- a/bearermanagement/mpm/src/mpmiapselection.cpp Fri Mar 12 15:44:18 2010 +0200 +++ b/bearermanagement/mpm/src/mpmiapselection.cpp Mon Mar 15 12:42:11 2010 +0200 @@ -154,6 +154,17 @@ return; } } + + if ( iChooseIapPref.ConnSelectionDialog() ) + { + // Complete selection with error code if wlan only was set and bearer set as cellular + if ( wlanOnly && + iChooseIapPref.BearerSet() == TExtendedConnPref::EExtendedConnBearerCellular ) + { + ChooseIapComplete( KErrPermissionDenied, NULL ); + return; + } + } MPMLOGSTRING2( "CMPMIapSelection::ChooseIapL:\ connection type %d", iChooseIapPref.ConnType() )