net: rockchip_wlan: rtl8723cs: work around clang bug

/tmp/rtl8703b_phycfg-53954c.s: Assembler messages:
/tmp/rtl8703b_phycfg-53954c.s:3071: Error: selected processor does not support `bfc w0,#4,#4'

Change-Id: I9a2cf7ea8b4da82ab6148043983ad57b68b93562
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
Tao Huang
2019-10-21 11:40:39 +08:00
parent 2f0f1a27bd
commit fc5f57b2b0

View File

@@ -1044,6 +1044,7 @@ phy_GetSecondaryChnl_8703B(
}
barrier(); /* work around https://bugs.llvm.org/show_bug.cgi?id=42576 */
return (SCSettingOf40 << 4) | SCSettingOf20;
}
@@ -1324,4 +1325,4 @@ PHY_SetSwChnlBWMode8703B(
PHY_HandleSwChnlAndSetBW8703B(Adapter, _TRUE, _TRUE, channel, Bandwidth, Offset40, Offset80, channel);
/* RTW_INFO("<==%s()\n",__FUNCTION__); */
}
}