summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/opietooth2/OTGateway.cpp
Side-by-side diff
Diffstat (limited to 'noncore/settings/networksettings2/opietooth2/OTGateway.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings2/opietooth2/OTGateway.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/noncore/settings/networksettings2/opietooth2/OTGateway.cpp b/noncore/settings/networksettings2/opietooth2/OTGateway.cpp
index 1b61a2e..7fc8719 100644
--- a/noncore/settings/networksettings2/opietooth2/OTGateway.cpp
+++ b/noncore/settings/networksettings2/opietooth2/OTGateway.cpp
@@ -63,7 +63,7 @@ OTGateway::OTGateway( void ) : QObject( 0, "OTGateway" ),
loadKnownPeers();
- // iterate over drivers and find active connections
+ // iterate over drivers and find active NetworkSetups
// adding/updating peers
- loadActiveConnections();
+ loadActiveNetworkSetups();
// check every 4 seconds the state of BT
@@ -376,6 +376,6 @@ const char * OTGateway::deviceTypeToName( int cls ) {
}
-PANConnectionVector OTGateway::getPANConnections( void ) {
- PANConnectionVector V;
+PANNetworkSetupVector OTGateway::getPANNetworkSetups( void ) {
+ PANNetworkSetupVector V;
struct bnep_connlist_req req;
@@ -393,5 +393,5 @@ PANConnectionVector OTGateway::getPANConnections( void ) {
req.ci = ci;
if (ioctl(ctl, BNEPGETCONNLIST, &req)) {
- odebug << "Failed to get connection list" << oendl;
+ odebug << "Failed to get NetworkSetup list" << oendl;
::close( ctl );
return V;
@@ -402,5 +402,5 @@ PANConnectionVector OTGateway::getPANConnections( void ) {
if( ci[i].role == BNEP_SVC_PANU ) {
// we are the client
- V.insert( V.size()-1, new OTPANConnection(
+ V.insert( V.size()-1, new OTPANNetworkSetup(
ci[i].device,
batostr((bdaddr_t *) ci[i].dst)
@@ -511,5 +511,5 @@ bool OTGateway::removeLinkKey( unsigned int Index ) {
#define MAXCONNECTIONS 10
-void OTGateway::loadActiveConnections( void ) {
+void OTGateway::loadActiveNetworkSetups( void ) {
struct hci_conn_list_req *cl;
@@ -533,5 +533,5 @@ void OTGateway::loadActiveConnections( void ) {
}
- // driver is up -> check connections
+ // driver is up -> check NetworkSetups
cl->dev_id = AllDrivers[i]->devId();
cl->conn_num = MAXCONNECTIONS;
@@ -539,5 +539,5 @@ void OTGateway::loadActiveConnections( void ) {
if (ioctl( getSocket(), HCIGETCONNLIST, (void *) cl)) {
- emit error( tr("Can't get connection list") );
+ emit error( tr("Can't get NetworkSetup list") );
break;
}
@@ -754,5 +754,5 @@ int OTGateway::releaseRFCommDevice( int devnr ) {
for (i = 0; i < dl->dev_num; i++, dr++) {
if( dr->id == devnr ) {
- // still in connection list
+ // still in NetworkSetup list
struct rfcomm_dev_req req;
int err;