Search Linux Wireless

Re: [PATCH 2/5] wl12xx: Clean up the block size alignment code

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

 



On Thu, 2011-03-31 at 10:06 +0200, Ido Yariv wrote:
> Simplify and clean up the block size alignment code:
> 1. Set the block size according to the padding field type, as it cannot
>    exceed the maximum value this field can hold.
> 2. Move the alignment code into a function instead of duplicating it in
>    multiple places.
> 3. In the current implementation, the block_size member can be
>    misleading because a zero value actually means that there's no need to
>    align. Declare a block size alignment quirk instead.
> 
> Signed-off-by: Ido Yariv <ido@xxxxxxxxxx>
> ---

Applied, thanks!

-- 
Cheers,
Luca.

--
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