]> 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)
commit27f20f0ab5ce6741692ae6fa7ff04b3796bbb240
tree386626a31d4236ffc99e5f34f41e24d432fe34f9
parent4d7e3804e20185b2c777862dfefb08ba4aeab99e
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