Linux bluetooth development
 help / color / mirror / Atom feed
From: Szymon Janc <szymon.janc@tieto.com>
To: Grzegorz Kolodziejczyk <grzegorz.kolodziejczyk@tieto.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH 1/4] android/pan: Minor style fix
Date: Thu, 22 Jan 2015 13:18:08 +0100	[thread overview]
Message-ID: <355485829.Z7YB36J0UO@uw000953> (raw)
In-Reply-To: <1421159453-5535-1-git-send-email-grzegorz.kolodziejczyk@tieto.com>

Hi Grzegorz,

On Tuesday 13 of January 2015 15:30:50 Grzegorz Kolodziejczyk wrote:
> Empty line added between function definitions. Tab indention added.
> Statics definitions should be placed after structures.
> ---
>  android/pan.c | 13 +++++++------
>  1 file changed, 7 insertions(+), 6 deletions(-)
> 
> diff --git a/android/pan.c b/android/pan.c
> index 6131890..3ff8389 100644
> --- a/android/pan.c
> +++ b/android/pan.c
> @@ -63,11 +63,6 @@
>  #define BNEP_PANU_INTERFACE "bt-pan"
>  #define BNEP_NAP_INTERFACE "bt-pan%d"
>  
> -static bdaddr_t adapter_addr;
> -static GSList *devices = NULL;
> -static uint8_t local_role = HAL_PAN_ROLE_NONE;
> -static struct ipc *hal_ipc = NULL;
> -
>  struct pan_device {
>  	char		iface[16];
>  	bdaddr_t	dst;
> @@ -78,6 +73,11 @@ struct pan_device {
>  	guint		watch;
>  };
>  
> +static bdaddr_t adapter_addr;
> +static GSList *devices = NULL;
> +static uint8_t local_role = HAL_PAN_ROLE_NONE;
> +static struct ipc *hal_ipc = NULL;
> +
>  static struct {
>  	uint32_t	record_id;
>  	GIOChannel	*io;
> @@ -463,6 +463,7 @@ static gboolean nap_watchdog_cb(GIOChannel *chan, GIOCondition cond,
>  
>  	return FALSE;
>  }
> +
>  static gboolean nap_setup_cb(GIOChannel *chan, GIOCondition cond,
>  							gpointer user_data)
>  {
> @@ -488,7 +489,7 @@ static gboolean nap_setup_cb(GIOChannel *chan, GIOCondition cond,
>  
>  	/* Highest known control command id BNEP_FILTER_MULT_ADDR_RSP 0x06 */
>  	if (req->type == BNEP_CONTROL &&
> -			req->ctrl > BNEP_FILTER_MULT_ADDR_RSP) {
> +					req->ctrl > BNEP_FILTER_MULT_ADDR_RSP) {
>  		error("cmd not understood");
>  		bnep_send_ctrl_rsp(sk, BNEP_CONTROL, BNEP_CMD_NOT_UNDERSTOOD,
>  								req->ctrl);
> 

Patches 1-3 applied, thanks.

-- 
Best regards, 
Szymon Janc

      parent reply	other threads:[~2015-01-22 12:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-13 14:30 [PATCH 1/4] android/pan: Minor style fix Grzegorz Kolodziejczyk
2015-01-13 14:30 ` [PATCH 2/4] android/pan: Make NAP variables struc dev_struct independent Grzegorz Kolodziejczyk
2015-01-13 14:30 ` [PATCH 3/4] android/pan: Change PAN record and name it as NAP record Grzegorz Kolodziejczyk
2015-01-13 14:30 ` [PATCH 4/4] android/pan: Register PANU sdp record while registering PAN Grzegorz Kolodziejczyk
2015-01-22 12:26   ` Szymon Janc
2015-01-22 12:18 ` Szymon Janc [this message]

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=355485829.Z7YB36J0UO@uw000953 \
    --to=szymon.janc@tieto.com \
    --cc=grzegorz.kolodziejczyk@tieto.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