mirror of
https://github.com/chinawrj/rtl8812au
synced 2025-01-09 10:01:37 +00:00
fully apply CONFIG_DISABLE_REGD_C
Fix floating point in VHT_HW_TX for both x86 and rpi
This commit is contained in:
parent
3e28d72316
commit
0c3cfa41e4
@ -258,6 +258,7 @@ static void _rtw_reg_apply_active_scan_flags(struct wiphy *wiphy,
|
|||||||
*/
|
*/
|
||||||
static void _rtw_reg_apply_radar_flags(struct wiphy *wiphy)
|
static void _rtw_reg_apply_radar_flags(struct wiphy *wiphy)
|
||||||
{
|
{
|
||||||
|
#ifndef CONFIG_DISABLE_REGD_C
|
||||||
struct ieee80211_supported_band *sband;
|
struct ieee80211_supported_band *sband;
|
||||||
struct ieee80211_channel *ch;
|
struct ieee80211_channel *ch;
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
@ -304,6 +305,7 @@ static void _rtw_reg_apply_radar_flags(struct wiphy *wiphy)
|
|||||||
IEEE80211_CHAN_PASSIVE_SCAN;
|
IEEE80211_CHAN_PASSIVE_SCAN;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
#endif // CONFIG_DISABLE_REGD_C
|
||||||
}
|
}
|
||||||
|
|
||||||
static void _rtw_reg_apply_flags(struct wiphy *wiphy)
|
static void _rtw_reg_apply_flags(struct wiphy *wiphy)
|
||||||
|
Loading…
Reference in New Issue
Block a user