X-Git-Url: https://jxself.org/git/?p=carl9170fw.git;a=blobdiff_plain;f=carlfw%2Fsrc%2Frf.c;h=5448abfe32bc5842aa6c30b84b2bd68c768962b0;hp=e031dd8ee4d1f84e7fa3570dbd8c1e6f6c8b56fb;hb=50a5ebfaff824904531a9b0b61244d11d89102e6;hpb=54fe34f34b61c6b261b90f765cc5546937ce1d74 diff --git a/carlfw/src/rf.c b/carlfw/src/rf.c index e031dd8..5448abf 100644 --- a/carlfw/src/rf.c +++ b/carlfw/src/rf.c @@ -205,10 +205,14 @@ void rf_cmd(const struct carl9170_cmd *cmd, struct carl9170_rsp *resp) /* * Is the clock controlled by the PHY? */ +#ifdef CONFIG_CARL9170FW_80MHZ_CLOCK if ((fw.phy.ht_settings & EIGHTY_FLAG) == EIGHTY_FLAG) clock_set(AHB_80_88MHZ, true); else clock_set(AHB_40_44MHZ, true); +#else + clock_set(AHB_40_44MHZ, true); +#endif ret = rf_init(le32_to_cpu(cmd->rf_init.delta_slope_coeff_exp), le32_to_cpu(cmd->rf_init.delta_slope_coeff_man),