Re: [PATCH 1/4] Bluetooth: convert flushable variable to flag in l2cap chan

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Gustavo,

On Fri, Oct 07, 2011 at 03:22:14PM -0300, Gustavo Padovan wrote:
> > diff --git a/net/bluetooth/l2cap_sock.c b/net/bluetooth/l2cap_sock.c
> > index 61f1f62..81fc8f0 100644
> > --- a/net/bluetooth/l2cap_sock.c
> > +++ b/net/bluetooth/l2cap_sock.c
> > @@ -446,14 +446,15 @@ static int l2cap_sock_getsockopt(struct socket *sock, int level, int optname, ch
> >  		break;
> >  
> >  	case BT_FLUSHABLE:
> > -		if (put_user(chan->flushable, (u32 __user *) optval))
> > +		if (put_user(test_bit(FLAG_FLUSHABLE, &chan->flags),
> > +						(u32 __user *) optval))
> >  			err = -EFAULT;
> >  
> >  		break;
> >  
> >  	case BT_POWER:
> >  		if (sk->sk_type != SOCK_SEQPACKET && sk->sk_type != SOCK_STREAM
> > -				&& sk->sk_type != SOCK_RAW) {
> > +						&& sk->sk_type != SOCK_RAW) {
> 
> This change doesn't belong to this patch. Please fix this and resend.

I've just sent patch without this cosmetic change.

Best regards 
Andrei Emeltchenko 
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux