b43: Fix ofdmtab write regression
authorMichael Buesch <mb@bu3sch.de>
Sun, 9 Dec 2007 21:34:59 +0000 (22:34 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:05:58 +0000 (15:05 -0800)
commit8ed7fc48eb31e583bb31c2bcfdd3a9c557bad5d0
tree43ece4c73d9e563c9a06b8fd7cde8cc8f72bbabb
parentbb54244be7d12c2a5985226061d598edb49c9078
b43: Fix ofdmtab write regression

commit f04b3787bbce4567e28069a9ec97dcd804626ac7 introduced
a regression for the ofdmtable writing.

It incorrectly removed the writing of the high 16bits for
a 32bit table write and initialized the direction identifier
too late.

This patch does also some cleanups to make the code much more
readable and adds a few comments, so non rocket scientists are
also able to understand what this address caching is all about.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/b43.h
drivers/net/wireless/b43/main.c
drivers/net/wireless/b43/tables.c