summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/mwifiex/sta_ioctl.c
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2014-03-21 06:50:06 +0400
committerJohn W. Linville <linville@tuxdriver.com>2014-03-31 21:47:40 +0400
commit1845bd3a91427b4715ff0e28719fa4a4b9003f23 (patch)
tree0fd54b5b2c643dc332e213ec9b827ac28d83a164 /drivers/net/wireless/mwifiex/sta_ioctl.c
parent9d2ffb81608da30c3293fb7e20474358a5951cca (diff)
downloadlinux-1845bd3a91427b4715ff0e28719fa4a4b9003f23.tar.xz
mwifiex: scan command preparation failure handling
When scan request is received, scan commands are prepared and queued into scan pending queue. There is a corner case when command nodes are full. So we stop queueing further scan commands and return an error. This patch makes sure that currently queued commands in scan pending queue are also freed in this case. Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/sta_ioctl.c')
0 files changed, 0 insertions, 0 deletions