login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
October
»
6
Re: [PATCH] btsdio: fix tx error path
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Marcel Holtmann <marcel@...>
To: Tomas Winkler <tomas.winkler@...>
Cc: <linux-bluetooth@...>, <linux-kernel@...>
Subject:
Re: [PATCH] btsdio: fix tx error path
Date: Monday, October 6, 2008 - 5:22 am
Hi Tomas,
quoted text
> This patch fixes accumulating of the header > in case packet was requeued in the error path. > > Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> > Cc: Marcel Holtmann <marcel@holtmann.org> > --- > drivers/bluetooth/btsdio.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/drivers/bluetooth/btsdio.c b/drivers/bluetooth/btsdio.c > index 58630cc..e4724b8 100644 > --- a/drivers/bluetooth/btsdio.c > +++ b/drivers/bluetooth/btsdio.c > @@ -91,6 +91,7 @@ static int btsdio_tx_packet(struct btsdio_data *data, struct sk_buff *skb) > > err = sdio_writesb(data->func, REG_TDAT, skb->data, skb->len); > if (err < 0) { > + skb_pop(skb, 4); > sdio_writeb(data->func, 0x01, REG_PC_WRT, NULL); > return err; > }
good catch. Applied to my tree. Thanks. Regards Marcel --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH] btsdio: fix tx error path
, Tomas Winkler
, (Mon Oct 6, 5:05 am)
Re: [PATCH] btsdio: fix tx error path
, Marcel Holtmann
, (Mon Oct 6, 6:54 am)
RE: [PATCH] btsdio: fix tx error path
, Winkler, Tomas
, (Mon Oct 6, 7:20 am)
Re: [PATCH] btsdio: fix tx error path
, Marcel Holtmann
, (Mon Oct 6, 5:22 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
James Bottomley
Re: Integration of SCST in the mainstream Linux kernel
Rafael J. Wysocki
2.6.27-rc4-git1: Reported regressions from 2.6.26
Amit K. Arora
[RFC] Heads up on sys_fallocate()
Greg Kroah-Hartman
[PATCH 016/196] kref: add kref_set()
git
:
linux-netdev
:
Peter Zijlstra
Re: [PATCH 3/3] Convert the UDP hash lock to RCU
Frans Pop
svc: failed to register lockdv1 RPC service (errno 97).
Gerrit Renker
[PATCH 03/37] dccp: List management for new feature negotiation
David Miller
Re: [GIT]: Networking
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
484 guests
online.
Online users
single12
Syndicate