mwifiex: use maximum ssid length as 0xfe for p2p
authorAniket Nagarnaik <aniketn@marvell.com>
Thu, 16 Jul 2015 15:05:22 +0000 (08:05 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 21 Jul 2015 15:09:49 +0000 (18:09 +0300)
commit0c6303cc06954c336a8221522e9ddf056125afab
tree3be8cd094beae7855584c3f5a29f2ae760b3b9c3
parent40d7412b56f02160291a5153551c4ada8e76f6ed
mwifiex: use maximum ssid length as 0xfe for p2p

0xfe is basically a magic number used to ask firmware match
provided string in a SSID. In this case, firmware will
return scan results containing"DIRECT-" string.

Signed-off-by: Aniket Nagarnaik <aniketn@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mwifiex/scan.c