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 <[email protected]> Acked-by: Jeff Johnson <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://patch.msgid.link/[email protected]
1 parent 9abf199 commit d3e154d

File tree

1 file changed

+0
-10
lines changed
  • drivers/net/wireless/ath/ath11k

1 file changed

+0
-10
lines changed

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)