wl12xx: set max_sched_scan_ie_len correctly
authorLuciano Coelho <coelho@ti.com>
Tue, 27 Sep 2011 13:22:35 +0000 (16:22 +0300)
committerLuciano Coelho <coelho@ti.com>
Fri, 7 Oct 2011 05:31:44 +0000 (08:31 +0300)
commitc9e79a4714493df6508d8346195ea30fb69b7783
treebf30d2950c501322948f66ee692beb81e920e75a
parent4b29886feb072427df80ca6395b2b11a09245eaf
wl12xx: set max_sched_scan_ie_len correctly

The wiphy max_sched_scan_ie_len attribute was not set correctly and
remained as 0, so when IEs were being passed in a scheduled scan, we
were returning -EINVAL.

Fix this by setting the attribute properly.

Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/main.c