netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH resend] Bluetooth: l2cap: fix misuse of logical operation in place of bitop
@ 2011-01-14 13:59 David Sterba
       [not found] ` <1295013584-15592-1-git-send-email-dsterba-AlSwsSmVLrQ@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: David Sterba @ 2011-01-14 13:59 UTC (permalink / raw)
  To: akpm
  Cc: marcel, linux-bluetooth, netdev, linux-kernel, David Sterba,
	Gustavo F. Padovan, João Paulo Rechi Vita

CC: Marcel Holtmann <marcel@holtmann.org>
CC: "Gustavo F. Padovan" <padovan@profusion.mobi>
CC: João Paulo Rechi Vita <jprvita@profusion.mobi>
Signed-off-by: David Sterba <dsterba@suse.cz>
---

Andrew, this has not been picked up by maintainers since 27.12., please consider it for -mm.

 net/bluetooth/l2cap.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/bluetooth/l2cap.c b/net/bluetooth/l2cap.c
index cd8f6ea..bdfdfdc 100644
--- a/net/bluetooth/l2cap.c
+++ b/net/bluetooth/l2cap.c
@@ -1893,8 +1893,8 @@ static int l2cap_sock_sendmsg(struct kiocb *iocb, struct socket *sock, struct ms
 		if (pi->mode == L2CAP_MODE_STREAMING) {
 			l2cap_streaming_send(sk);
 		} else {
-			if (pi->conn_state & L2CAP_CONN_REMOTE_BUSY &&
-					pi->conn_state && L2CAP_CONN_WAIT_F) {
+			if ((pi->conn_state & L2CAP_CONN_REMOTE_BUSY) &&
+					(pi->conn_state & L2CAP_CONN_WAIT_F)) {
 				err = len;
 				break;
 			}
-- 
1.7.3.4.626.g73e7b


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH resend] Bluetooth: l2cap: fix misuse of logical operation in place of bitop
       [not found] ` <1295013584-15592-1-git-send-email-dsterba-AlSwsSmVLrQ@public.gmane.org>
@ 2011-01-14 16:30   ` Gustavo F. Padovan
  0 siblings, 0 replies; 2+ messages in thread
From: Gustavo F. Padovan @ 2011-01-14 16:30 UTC (permalink / raw)
  To: David Sterba
  Cc: akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b,
	marcel-kz+m5ild9QBg9hUCZPvPmw,
	linux-bluetooth-u79uwXL29TY76Z2rM5mHXA,
	netdev-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, João Paulo Rechi Vita

Hi all,

* David Sterba <dsterba-AlSwsSmVLrQ@public.gmane.org> [2011-01-14 14:59:44 +0100]:

> CC: Marcel Holtmann <marcel-kz+m5ild9QBg9hUCZPvPmw@public.gmane.org>
> CC: "Gustavo F. Padovan" <padovan-Y3ZbgMPKUGA34EUeqzHoZw@public.gmane.org>
> CC: João Paulo Rechi Vita <jprvita-Y3ZbgMPKUGA34EUeqzHoZw@public.gmane.org>
> Signed-off-by: David Sterba <dsterba-AlSwsSmVLrQ@public.gmane.org>
> ---
> 
> Andrew, this has not been picked up by maintainers since 27.12., please consider it for -mm.
> 
>  net/bluetooth/l2cap.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)

I'm taking care of this. Sorry for the delay, I've been away a bit.
Patch is now applied to Bluetooth tree. Thanks.

-- 
Gustavo F. Padovan
http://profusion.mobi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-14 16:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-14 13:59 [PATCH resend] Bluetooth: l2cap: fix misuse of logical operation in place of bitop David Sterba
     [not found] ` <1295013584-15592-1-git-send-email-dsterba-AlSwsSmVLrQ@public.gmane.org>
2011-01-14 16:30   ` Gustavo F. Padovan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).