mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
13 lines
408 B
Diff
13 lines
408 B
Diff
--- a/drivers/net/wireless/ath/ath10k/debug.c
|
|
+++ b/drivers/net/wireless/ath/ath10k/debug.c
|
|
@@ -1260,6 +1260,9 @@ static int ath10k_debug_cal_data_fetch(s
|
|
if (ar->hw_params.cal_data_len == 0)
|
|
return -EOPNOTSUPP;
|
|
|
|
+ if (ar->hif.bus == ATH10K_BUS_SDIO)
|
|
+ return -EINVAL;
|
|
+
|
|
hi_addr = host_interest_item_address(HI_ITEM(hi_board_data));
|
|
|
|
ret = ath10k_hif_diag_read(ar, hi_addr, &addr, sizeof(addr));
|