libertas: Use lbs_is_cmd_allowed() check in command handling routines.
authorAmitkumar Karwar <akarwar@marvell.com>
Wed, 7 Oct 2009 02:20:28 +0000 (19:20 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 7 Oct 2009 20:39:53 +0000 (16:39 -0400)
commit63f275df64dc69a46bbc21e6a68d5506d2da9c51
tree4d21f47420f0ef155e9e461512d3c6354019c31c
parent536b3a7a10c8fd39576a0602bfeca9bbd04658a6
libertas: Use lbs_is_cmd_allowed() check in command handling routines.

lbs_is_cmd_allowed() check is added in __lbs_cmd_async() and
lbs_prepare_and_send_command(). The check is removed from other places.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/cmd.c
drivers/net/wireless/libertas/debugfs.c
drivers/net/wireless/libertas/decl.h
drivers/net/wireless/libertas/scan.c
drivers/net/wireless/libertas/wext.c