]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: simplify ad hoc join capability info
authorJames Cameron <quozl@laptop.org>
Tue, 11 Nov 2014 05:21:28 +0000 (16:21 +1100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 11 Nov 2014 21:31:16 +0000 (16:31 -0500)
commit73f568ff3b11dc7cfbfc2385e7981ec9364a4070
tree386626a31d4236ffc99e5f34f41e24d432fe34f9
parent4ef6644a8054006f6fa5a3cfb465c70fba1a8711
mwifiex: simplify ad hoc join capability info

While preparing an ad-hoc start command, the capability info bitmap is
needlessly set from the command, and then the ESS bit cleared.

Change to set the bitmap directly without reference to the command.

Signed-off-by: James Cameron <quozl@laptop.org>
Acked-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/join.c