OSDN Git Service

rt2x00: Don't overwrite beacon buffers in pairwise key setup
authorHelmut Schaa <helmut.schaa@googlemail.com>
Sat, 2 Oct 2010 09:26:17 +0000 (11:26 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 5 Oct 2010 17:35:25 +0000 (13:35 -0400)
commit2a0cfeb826df6751933fd95a797ac18371992c3b
tree5deb2818a402090138ff3d30e975dec2abee6e0e
parent1a92795dac419128eb511dce30a6aad672064b88
rt2x00: Don't overwrite beacon buffers in pairwise key setup

rt2800 devices use parts of the pariwise key table to store the beacon
frames for beacon 6 and 7. To not overwrite the beacon frame buffers
limit the number of entries we store in the pairwise key table to 222.

Also add some descriptive comments about this shared memory usage.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800.h
drivers/net/wireless/rt2x00/rt2800lib.c