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)
commit6f632d57f35303118685b88c139f3da73df077e2
tree687a6547ca2dfb65204df9bc8a2e724a3c9a6899
parentb23da49e6db341f4721476394dd8b95e0be2d179
libertas: don't use dynamic-sized array

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>
drivers/net/wireless/libertas/assoc.c