Search Linux Wireless

RE: [PATCH v3 3/3] NFC: Check if NCI data flow control is used

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

 



Hi Lauro, 

> > -               atomic_dec(&ndev->credits_cnt);
> > +               /* Check if data flow control is used */
> > +               if (atomic_read(&ndev->credits_cnt) != 0xff)
> > +                       atomic_dec(&ndev->credits_cnt);
> 
> It would be better to replace the 0xff by a define.
OK, I'll use a define instead of 0xff.

> 
> Lauro
> 

Thanks & BR,
Ilan
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux