From: Guy Eilam Date: Thu, 9 Dec 2010 14:54:59 +0000 (+0200) Subject: wl1271: fixed problem with WPS IEs in probe requests X-Git-Tag: v2.6.38-rc1~476^2~104^2~4^2~35^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea559b460509b241cc1a3f36eebe0b2b634b3cf2;p=pandora-kernel.git wl1271: fixed problem with WPS IEs in probe requests Inclusion of a WPS IE in probe requests caused a problem in the driver due to the maximum size of the probe request template and the max_scan_ie_len values at initialization. Increased the size of probe request template to the maximum size allowed by the firmware. Struct wl12xx_probe_req_template, which was only used for calculating the max size of the probe request template, is no longer used and needed. max_scan_ie_len is used for validating the size of additional IEs in scan requests. Initialized the max_scan_ie_len field to the maximum size of the probe request template minus the ieee80211 header size. Signed-off-by: Guy Eilam Signed-off-by: Luciano Coelho --- Reading git-diff-tree failed