mwifiex: modify mwifiex_ap_sta_limits to advertise support for P2P
authorAvinash Patil <patila@marvell.com>
Tue, 23 Jul 2013 02:17:58 +0000 (19:17 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 24 Jul 2013 15:02:38 +0000 (11:02 -0400)
commita4df8f56e92104c5e7be82cc2c471e600ea3f9ef
tree9645148b79f5f1900c2837cd5001301d89b5bd10
parent6b21a69fbc5c60c44634963f3fe3e6f1d9140d3a
mwifiex: modify mwifiex_ap_sta_limits to advertise support for P2P

We support maximum simultaneous 2 non-AP station interfaces and
they can assume role of Station/P2P client/P2P GO.
Advertise this support to cfg80211 so that concurrent P2P/STA
operation is possible.

Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/cfg80211.c