libertas: don't use dynamic-sized array
authorAndrey Yurovsky <andrey@cozybit.com>
Fri, 14 Aug 2009 00:34:40 +0000 (17:34 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 20 Aug 2009 15:35:50 +0000 (11:35 -0400)
sparse complains about a bad constant expression due to the use of a
dynamic-sized array in get_common_rates().  Allocate and free the array
instead.

Signed-off-by: Andrey Yurovsky <andrey@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found