Switch local and remote Bluetooth address arguments to follow the same
standard of the Bluetooth functions.
---
include/handsfree-audio.h | 4 ++--
src/handsfree-audio.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/handsfree-audio.h b/include/handsfree-audio.h
index c5403c7..b58f5db 100644
--- a/include/handsfree-audio.h
+++ b/include/handsfree-audio.h
@@ -30,8 +30,8 @@ extern "C" {
struct ofono_handsfree_card;
-struct ofono_handsfree_card *ofono_handsfree_card_create(const char *remote,
- const char *local);
+struct ofono_handsfree_card *ofono_handsfree_card_create(const char *local,
+ const char *remote);
int ofono_handsfree_card_register(struct ofono_handsfree_card *card);
void ofono_handsfree_card_remove(struct ofono_handsfree_card *card);
diff --git a/src/handsfree-audio.c b/src/handsfree-audio.c
index b2d4b97..399bba9 100644
--- a/src/handsfree-audio.c
+++ b/src/handsfree-audio.c
@@ -115,8 +115,8 @@ static const GDBusSignalTable card_signals[] = {
{ }
};
-struct ofono_handsfree_card *ofono_handsfree_card_create(const char *remote,
- const char *local)
+struct ofono_handsfree_card *ofono_handsfree_card_create(const char *local,
+ const char *remote)
{
struct ofono_handsfree_card *card;
--
1.7.11.7
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono