rndis_wlan: preallocate command buffer for set/get_oid
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>
Thu, 12 Jun 2008 17:19:19 +0000 (20:19 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 14 Jun 2008 16:18:10 +0000 (12:18 -0400)
commit90d07349f8d754b89de8c61bdef9f95688900f30
tree742a449b46354085199c10c34804ff2ac6c06f09
parentbb8649d42989eddf9c7d128114c1adcffe9eef54
rndis_wlan: preallocate command buffer for set/get_oid

Reduce amount of kmalloc/kfree calls in set/get_oid by preallocating command
buffer.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rndis_wlan.c