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)
commit4eed83a252257ad8ad41ba1c769341960ed4cdc5
tree386626a31d4236ffc99e5f34f41e24d432fe34f9
parentd351f5fea44a7527819598070e11b5c9dc53c017
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