]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd50213756ca8c1d0edfc7fa328c6e7a9fc65c6ec
tree5deb2818a402090138ff3d30e975dec2abee6e0e
parent04952157b1a1a92c9c85cf2f3e10a9f4e5de4070
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