libertas: Fix problem with broken V4 firmware on CF8381
authorMarek Vasut <marek.vasut@gmail.com>
Thu, 16 Jul 2009 17:19:53 +0000 (19:19 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 21 Jul 2009 19:59:52 +0000 (15:59 -0400)
commit154839962a582b8eb661cde94ef3af0e03b374d7
tree4b57392a715be59dd2bf5a2143113f27dacbef7d
parent5d2214ac5e7f72c9ae70b2444649e8d1d3e1086d
libertas: Fix problem with broken V4 firmware on CF8381

Firmware V4 on CF8381 reports region code shifted by 1 byte to left.
The following patch checks for this and handles it properly.

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