mwifiex: use alloc_workqueue's format strings capabilities for WQ names
authorAvinash Patil <patila@marvell.com>
Fri, 6 Feb 2015 14:28:05 +0000 (19:58 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 26 Feb 2015 13:05:30 +0000 (15:05 +0200)
commitffdcad05968ccb9ca2bb66f0e72467aa87baf2c2
tree2b3f4f9f3ba9a2826a8e69b338e658f59990981f
parent01317c264166babe695174aa0d9e6cd93055df1a
mwifiex: use alloc_workqueue's format strings capabilities for WQ names

alloc_workqueue() has string format formation ability e.g. wqname%ifname
will be treated as wqnameifname. Use this and remove string operations
while defining strings for workqueue names.

Reported-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mwifiex/cfg80211.c