Return-Path: Message-ID: <52828278.7030205@linux.intel.com> Date: Tue, 12 Nov 2013 21:33:12 +0200 From: Ravi kumar Veeramally MIME-Version: 1.0 To: linux-bluetooth@vger.kernel.org, johan.hedberg@gmail.com Subject: Re: [PATCH_v2 3/4] android/pan: Add notify method to PAN notifications References: <1384266042-6344-1-git-send-email-ravikumar.veeramally@linux.intel.com> <1384266042-6344-4-git-send-email-ravikumar.veeramally@linux.intel.com> <20131112170623.GA5058@x220.p-661hnu-f1> In-Reply-To: <20131112170623.GA5058@x220.p-661hnu-f1> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Johan, On 12.11.2013 19:06, Johan Hedberg wrote: > Hi Ravi, > > On Tue, Nov 12, 2013, Ravi kumar Veeramally wrote: >> --- >> android/hal-pan.c | 6 ++++++ >> android/hal.h | 1 + >> 2 files changed, 7 insertions(+) > I've applied the first two patches, but there's one issue with this one: > >> +void bt_notify_pan(uint16_t opcode, void *buf, uint16_t len) >> +{ >> + if (!interface_ready()) >> + return; >> +} > Why is opcode uint16_t instead of uint8_t? Haven't we defined it as > uint8_t in our IPC document? > There are few other places like adapter and hid it is declared as uint16_t. I will fix that too and send you v3 of these two. Thanks, Ravi.