]> git.baikalelectronics.ru Git - kernel.git/commit
param: lock if_sdio's lbs_helper_name and lbs_fw_name against sysfs changes.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 12 Aug 2010 05:04:33 +0000 (23:04 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 11 Aug 2010 13:34:37 +0000 (23:04 +0930)
commit8c667ac8f32f7dbde2a5650805b336a4ad3aa046
tree0e712d9902ab3c2c23dffb1c3565369fac72d2fa
parentbee793153b90681c4ccab43aeb5c5b7f0518f270
param: lock if_sdio's lbs_helper_name and lbs_fw_name against sysfs changes.

Since it can be changed via sysfs, we need to make a copy.  This most
generic way of doing this is to keep a flag so we know when to free it.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Cc: Dan Williams <dcbw@redhat.com>
Cc: John W. Linville <linville@tuxdriver.com>
Cc: libertas-dev@lists.infradead.org
Cc: linux-wireless@vger.kernel.org
Cc: netdev@vger.kernel.org
drivers/net/wireless/libertas/if_sdio.c