diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/main.c')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/main.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/main.c b/drivers/net/wireless/ath/ath6kl/main.c index eca4d4704edc..9533558a6235 100644 --- a/drivers/net/wireless/ath/ath6kl/main.c +++ b/drivers/net/wireless/ath/ath6kl/main.c | |||
@@ -608,6 +608,18 @@ static int ath6kl_commit_ch_switch(struct ath6kl_vif *vif, u16 channel) | |||
608 | 608 | ||
609 | switch (vif->nw_type) { | 609 | switch (vif->nw_type) { |
610 | case AP_NETWORK: | 610 | case AP_NETWORK: |
611 | /* | ||
612 | * reconfigure any saved RSN IE capabilites in the beacon / | ||
613 | * probe response to stay in sync with the supplicant. | ||
614 | */ | ||
615 | if (vif->rsn_capab && | ||
616 | test_bit(ATH6KL_FW_CAPABILITY_RSN_CAP_OVERRIDE, | ||
617 | ar->fw_capabilities)) | ||
618 | ath6kl_wmi_set_ie_cmd(ar->wmi, vif->fw_vif_idx, | ||
619 | WLAN_EID_RSN, WMI_RSN_IE_CAPB, | ||
620 | (const u8 *) &vif->rsn_capab, | ||
621 | sizeof(vif->rsn_capab)); | ||
622 | |||
611 | return ath6kl_wmi_ap_profile_commit(ar->wmi, vif->fw_vif_idx, | 623 | return ath6kl_wmi_ap_profile_commit(ar->wmi, vif->fw_vif_idx, |
612 | &vif->profile); | 624 | &vif->profile); |
613 | default: | 625 | default: |