Rename mgmt_update_mode to mgmt_update_powered for clarity
diff --git a/plugins/mgmtops.c b/plugins/mgmtops.c
index b3fb418..dec49a2 100644
--- a/plugins/mgmtops.c
+++ b/plugins/mgmtops.c
@@ -209,7 +209,7 @@
 	return -ENOSYS;
 }
 
-static int mgmt_update_mode(int index, uint8_t powered)
+static int mgmt_update_powered(int index, uint8_t powered)
 {
 	struct controller_info *info;
 	struct btd_adapter *adapter;
@@ -280,7 +280,7 @@
 
 	DBG("Controller %u powered %u", index, ev->val);
 
-	mgmt_update_mode(index, ev->val);
+	mgmt_update_powered(index, ev->val);
 }
 
 static void mgmt_discoverable(int sk, void *buf, size_t len)
@@ -456,7 +456,7 @@
 	}
 
 	if (info->enabled)
-		mgmt_update_mode(index, TRUE);
+		mgmt_update_powered(index, TRUE);
 	else
 		mgmt_set_powered(index, TRUE);
 
@@ -477,7 +477,7 @@
 
 	DBG("hci%d powered %u", index, rp->val);
 
-	mgmt_update_mode(index, rp->val);
+	mgmt_update_powered(index, rp->val);
 }
 
 static void set_discoverable_complete(int sk, void *buf, size_t len)