|
@@ -3955,6 +3955,10 @@ static int __wlan_hdd_cfg80211_tdls_mgmt(struct wiphy *wiphy,
|
|
" TDLS mode is disabled. action %d declined.",
|
|
" TDLS mode is disabled. action %d declined.",
|
|
__func__, MAC_ADDR_ARRAY(peer), action_code);
|
|
__func__, MAC_ADDR_ARRAY(peer), action_code);
|
|
return -ENOTSUPP;
|
|
return -ENOTSUPP;
|
|
|
|
+ } else if (pHddCtx->tdls_nss_switch_in_progress) {
|
|
|
|
+ hdd_err("TDLS antenna switch in progress, action %d declined for "
|
|
|
|
+ MAC_ADDRESS_STR, action_code, MAC_ADDR_ARRAY(peer));
|
|
|
|
+ return -EAGAIN;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|