mwifiex: populate rates in probe request using cfg80211_scan_request
authorAvinash Patil <patila@marvell.com>
Wed, 31 Jul 2013 00:18:56 +0000 (17:18 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 1 Aug 2013 19:34:35 +0000 (15:34 -0400)
commit78dfca62f1a0a8d00b155e48197a565da18aebd9
tree88755c577a01ecf81988746d3c0f0e0294700c0d
parentc3afd99fb5adfb31925f0b493a0d4152cd6447cc
mwifiex: populate rates in probe request using cfg80211_scan_request

Whenever available, use cfg80211_scan_request to populates rates
in outgoing probe request. This will help to advertise band specific
rates and fix an issue where 11b rates were advertised in probe
request going out on 11a band.

This will also ensure that we do not advertise 11b rates while P2P
scan is going on.

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