summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/cfg80211.c
diff options
context:
space:
mode:
authorAvinash Patil <patila@marvell.com>2015-06-22 19:06:16 +0530
committerKalle Valo <kvalo@codeaurora.org>2015-07-21 16:40:28 +0300
commit65d48e5971065ccb831a93232d60deb7caa9d7cb (patch)
tree59955f28b00fe9689f92b455f511209bc2247dcb /drivers/net/wireless/mwifiex/cfg80211.c
parentb04975970676d797dec434755a14285420a4189f (diff)
downloadblackbird-op-linux-65d48e5971065ccb831a93232d60deb7caa9d7cb.tar.gz
blackbird-op-linux-65d48e5971065ccb831a93232d60deb7caa9d7cb.zip
mwifiex: update domain_info upon band change in start_ap
It was observed that AP beacons would not reflect correct regulatory information upon starting AP in A band. This was because of missing AP config band update in set_channel of start_ap. Also we configure 11D settings info FW only for specific band. So we need to download domain info to FW even if domain remains unchanged but band is changed. Signed-off-by: Avinash Patil <patila@marvell.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/mwifiex/cfg80211.c')
-rw-r--r--drivers/net/wireless/mwifiex/cfg80211.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/cfg80211.c b/drivers/net/wireless/mwifiex/cfg80211.c
index ecc8278a8cfe..1d445cbbb31b 100644
--- a/drivers/net/wireless/mwifiex/cfg80211.c
+++ b/drivers/net/wireless/mwifiex/cfg80211.c
@@ -442,7 +442,7 @@ mwifiex_cfg80211_add_key(struct wiphy *wiphy, struct net_device *netdev,
* - Country codes
* - Sub bands (first channel, number of channels, maximum Tx power)
*/
-static int mwifiex_send_domain_info_cmd_fw(struct wiphy *wiphy)
+int mwifiex_send_domain_info_cmd_fw(struct wiphy *wiphy)
{
u8 no_of_triplet = 0;
struct ieee80211_country_ie_triplet *t;
OpenPOWER on IntegriCloud