From: Dmitriy Paliy <dmitriy.paliy@nokia.com>
To: linux-bluetooth@vger.kernel.org
Cc: Dmitriy Paliy <dmitriy.paliy@nokia.com>
Subject: [PATCH 1/3] Move telephony_last_dialed_number_req
Date: Tue, 15 Mar 2011 14:55:52 +0200 [thread overview]
Message-ID: <1300193754-5748-1-git-send-email-dmitriy.paliy@nokia.com> (raw)
telephony_last_dialed_number_req function moved to be after
send_method_call. It is used in successive commit.
---
audio/telephony-maemo6.c | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/audio/telephony-maemo6.c b/audio/telephony-maemo6.c
index b0f314c..04c69c6 100644
--- a/audio/telephony-maemo6.c
+++ b/audio/telephony-maemo6.c
@@ -475,18 +475,6 @@ void telephony_response_and_hold_req(void *telephony_device, int rh)
CME_ERROR_NOT_SUPPORTED);
}
-void telephony_last_dialed_number_req(void *telephony_device)
-{
- DBG("telephony-maemo6: last dialed number request");
-
- if (last_dialed_number)
- telephony_dial_number_req(telephony_device,
- last_dialed_number);
- else
- telephony_last_dialed_number_rsp(telephony_device,
- CME_ERROR_NOT_ALLOWED);
-}
-
void telephony_terminate_call_req(void *telephony_device)
{
struct csd_call *call;
@@ -589,6 +577,18 @@ static int send_method_call(const char *dest, const char *path,
return 0;
}
+void telephony_last_dialed_number_req(void *telephony_device)
+{
+ DBG("telephony-maemo6: last dialed number request");
+
+ if (last_dialed_number)
+ telephony_dial_number_req(telephony_device,
+ last_dialed_number);
+ else
+ telephony_last_dialed_number_rsp(telephony_device,
+ CME_ERROR_NOT_ALLOWED);
+}
+
static const char *memory_dial_lookup(int location)
{
if (location == 1)
--
1.7.1
next reply other threads:[~2011-03-15 12:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-15 12:55 Dmitriy Paliy [this message]
2011-03-15 12:55 ` [PATCH 2/3] Change dial and re-dial in maemo6 telephony Dmitriy Paliy
2011-03-15 12:55 ` [PATCH 3/3] Remove unused code due to dial and re-dial change Dmitriy Paliy
2011-03-15 17:36 ` [PATCH 1/3] Move telephony_last_dialed_number_req Johan Hedberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1300193754-5748-1-git-send-email-dmitriy.paliy@nokia.com \
--to=dmitriy.paliy@nokia.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox