]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: fix 5GHz association issue
authorAmitkumar Karwar <akarwar@marvell.com>
Thu, 22 Sep 2011 04:43:22 +0000 (21:43 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 27 Sep 2011 18:34:02 +0000 (14:34 -0400)
commit6e684f622e0dbe23f239309fee535b10b91bfb63
treeaddd4f7b5ab6696505fcd9113ce3c48dcda0fc73
parent29fa3ab759aac73a37b8b5d99819b5b6a779c531
mwifiex: fix 5GHz association issue

Sometimes association in 5GHz doesn't work. Dmesg log shows
"Can not find requested SSID xyz" error message. Currently
while preparing scan channel list for firmware Null entries
are created for disabled channels. The routine which retrieves
this list ignores channels after Null entry. Hence sometimes
driver doesn't scan the channel of requested AP and association
fails. The issue is fixed by avoiding those NULL entries.

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>
drivers/net/wireless/mwifiex/scan.c