Skip to content

Commit d3e154d

Browse files
Baochen Qiangkvalo
authored andcommitted
Revert "wifi: ath11k: restore country code during resume"
This reverts commit 7f0343b. We are going to revert commit 166a490 ("wifi: ath11k: support hibernation"), on which this commit depends. With that commit reverted, this one is not needed any more, so revert this commit first. Signed-off-by: Baochen Qiang <quic_bqiang@quicinc.com> Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com> Link: https://patch.msgid.link/20240830073420.5790-2-quic_bqiang@quicinc.com
1 parent 9abf199 commit d3e154d

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

  • drivers/net/wireless/ath/ath11k

drivers/net/wireless/ath/ath11k/core.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,16 +1009,6 @@ int ath11k_core_resume(struct ath11k_base *ab)
10091009
return -ETIMEDOUT;
10101010
}
10111011

1012-
if (ab->hw_params.current_cc_support &&
1013-
ar->alpha2[0] != 0 && ar->alpha2[1] != 0) {
1014-
ret = ath11k_reg_set_cc(ar);
1015-
if (ret) {
1016-
ath11k_warn(ab, "failed to set country code during resume: %d\n",
1017-
ret);
1018-
return ret;
1019-
}
1020-
}
1021-
10221012
ret = ath11k_dp_rx_pktlog_start(ab);
10231013
if (ret)
10241014
ath11k_warn(ab, "failed to start rx pktlog during resume: %d\n",

0 commit comments

Comments
 (0)