summaryrefslogtreecommitdiff
path: root/components/dlink_bt
diff options
context:
space:
mode:
authorUlf Wiger <ulf@feuerlabs.com>2015-08-14 19:32:22 +0200
committerUlf Wiger <ulf@feuerlabs.com>2015-08-14 19:32:22 +0200
commit2dd27e3c33de6c2b31e4cdc30a345b3c64e3040a (patch)
tree5620cfbed7605baa2c1325fbbc7ca56157164616 /components/dlink_bt
parent54974ae9ead2200104cb35b5e34fff8030a06cc9 (diff)
downloadrvi_core-2dd27e3c33de6c2b31e4cdc30a345b3c64e3040a.tar.gz
added svc reg+call tests + bug fixes
Diffstat (limited to 'components/dlink_bt')
-rw-r--r--components/dlink_bt/src/dlink_bt_rpc.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/dlink_bt/src/dlink_bt_rpc.erl b/components/dlink_bt/src/dlink_bt_rpc.erl
index aba5f3b..c36c997 100644
--- a/components/dlink_bt/src/dlink_bt_rpc.erl
+++ b/components/dlink_bt/src/dlink_bt_rpc.erl
@@ -698,7 +698,7 @@ connection_authorized(FromPid, {RemoteAddress, RemoteChannel} = Conn, CompSpec)
%% that just authorized to us.
[ ok, LocalServices ] = service_discovery_rpc:get_services_by_module(CompSpec, local),
- [ ok, FilteredServices ] = authorize_rpc:filter_by_destination(
+ [ ok, FilteredServices ] = authorize_rpc:filter_by_service(
CompSpec, LocalServices, Conn),
%% Send an authorize back to the remote node