]> err.no Git - linux-2.6/commit
mac80211: Fix n-band association problem
authorAbhijeet Kolekar <abhijeet.kolekar@intel.com>
Wed, 16 Apr 2008 21:02:04 +0000 (14:02 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 24 Apr 2008 01:25:34 +0000 (21:25 -0400)
commita46f025d053e47b9ce602f53f6d30e94d304a51c
tree21b453785f61c8dd3113721d651aafa7ce01b0f0
parentd7d313000ba2fc94a5383511a17ff38a39bab928
mac80211: Fix n-band association problem

There are two structures named wmm_info and wmm_param, they are used while
parsing the beacon frame. (Check the function ieee802_11_parse_elems).
Certain APs like D-link does not set the fifth bit in WMM IE.
While sending the association request to n-only ap it checks for wmm_ie.
If it is set then only ieee80211_ht_cap is sent during association request.
So n-only association fails.
And this patch fixes this problem by copying the wmm_info to wmm_ie,
which enables the "wmm" flag in iee80211_send_assoc.

Signed-off-by: Abhijeet Kolekar <abhijeet.kolekar@intel.com>
Acked-by: Ron Rindjunsky <ron.rindjunsky@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c