]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Fix scan_ies_len to include DS Params
authorJouni Malinen <j@w1.fi>
Wed, 27 Oct 2010 10:40:33 +0000 (13:40 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 27 Oct 2010 19:46:51 +0000 (15:46 -0400)
commitdb36221353f69b0cee6bf211fa86ccccc973b0f7
treec8989c1905d740bb49c1b186b909b8408c1a4315
parente09ed5e9db23fa38b361d4f7fb01c3ba88dea697
mac80211: Fix scan_ies_len to include DS Params

Commit 1e26caa1c0f5659dbedc4bccaba5600bb39acfea added DS Parameter Set
information into Probe Request frames that are transmitted on 2.4 GHz
band, but it failed to increment local->scan_ies_len to cover this new
information. This variable needs to be updated to match the maximum IE
data length so that the extra buffer need gets reduced from the driver
limit.

Signed-off-by: Jouni Malinen <j@w1.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/main.c