wl12xx: initialize rate_set on band rates initialization
authorEliad Peller <eliad@wizery.com>
Tue, 23 Aug 2011 12:56:23 +0000 (15:56 +0300)
committerLuciano Coelho <coelho@ti.com>
Thu, 25 Aug 2011 07:19:28 +0000 (10:19 +0300)
commit53835a2d19f533acb0de2466d1ece7b673556419
treea4d5c8b966cd1fea455b503fc4e06f97ec0a2e7e
parentcabb81c9a8d8dd7e5f220244246332ab24ef6d80
wl12xx: initialize rate_set on band rates initialization

In some corner cases, (invalid) 11g rates were used while
working on 11a band.

Take care of it by initializing rate_set according to the
configured band.

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