mac80211: fix association with some APs
authorHelmut Schaa <hschaa@suse.de>
Thu, 8 May 2008 11:34:07 +0000 (13:34 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 May 2008 01:22:19 +0000 (21:22 -0400)
commit36d16ae73becc5978fe22866e9ab66b509211afe
treec23a10e13d5e82d25900ee9a9ae6904ec4b0937a
parentc0186078b78839a8bdb385fa07a816c2f348a49d
mac80211: fix association with some APs

Some APs refuse association if the supported rates contained in the
association request do not match its own supported rates. This patch
introduces a new function which builds the intersection between the AP's
supported rates and the client's supported rates to work around such
problems. The same approach is already used in ipw2200 for example.

Signed-off-by: Helmut Schaa <hschaa@suse.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c