]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] libertas: region code values specified as 8bit
authorMarek Vašut <marek.vasut@gmail.com>
Mon, 20 Aug 2007 16:55:41 +0000 (12:55 -0400)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:50:36 +0000 (16:50 -0700)
commita4ca6d4c80e980d527691f32a6fd35645a1e9636
treee5cd749a6187800e719e9ce9aa2c4ff2dec40070
parent1682c26a02c24622fab20c47a46e45f762883d4e
[PATCH] libertas: region code values specified as 8bit

This patch strips away possible mess in regioncode (eg. on my card - 88W8305
chipset - I get 0x3031 instead of expected 0x0031 and as a result the driver
defaults to USA region which is obviously incorrect). Following patch fixes
the issue.

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/cmdresp.c