]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
wl1271: Clean up firmware block allocation calculation
authorJuuso Oikarinen <juuso.oikarinen@nokia.com>
Mon, 22 Feb 2010 06:38:39 +0000 (08:38 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 9 Mar 2010 20:03:04 +0000 (15:03 -0500)
commit5c9417f1656b0f415f4be5a7cd7195ecadd7dd1a
treec512af2adfa5994cc024ff537630b74adff99521
parentac5e1e39c1eeaaff7e6f03bf7cf7a444b42fbc23
wl1271: Clean up firmware block allocation calculation

This patch simplifies the required block count calculation. Though it
introduces a division operator, it greatly simplifies the formula.

Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Reviewed-by: Teemu Paasikivi <ext-teemu.3.paasikivi@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1271_tx.c
drivers/net/wireless/wl12xx/wl1271_tx.h