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)
commitdc9f48ce7c7d345be31208def51572a8250a4a03
treec8989c1905d740bb49c1b186b909b8408c1a4315
parentd654567dec75782d6fd9add4b7b9c50e0926d369
mac80211: Fix scan_ies_len to include DS Params

Commit 651b52254fc061f02d965524e71de4333a009a5a 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