Skip to content

Commit

Permalink
Update ioctl_cfg80211.c
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Oct 24, 2024
1 parent b99b8ce commit 14d78c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions os_dep/linux/ioctl_cfg80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -4865,7 +4865,7 @@ static int cfg80211_rtw_set_txpower(struct wiphy *wiphy,
}
// OpenHD
#if 1
openhd_override_tx_power_mbm=get_openhd_override_tx_power_mbm();
// openhd_override_tx_power_mbm=get_openhd_override_tx_power_mbm();
if(openhd_override_tx_power_mbm){
// wiphy_data->txpwr_total_lmt_mbm = UNSPECIFIED_MBM;
// wiphy_data->txpwr_total_target_mbm= openhd_override_tx_power_mbm;
Expand All @@ -4878,7 +4878,7 @@ static int cfg80211_rtw_set_txpower(struct wiphy *wiphy,
openhd_override_tx_power_mbm);

if (ret == 0)
rtw_run_in_thread_cmd_wait(adapter, ((void *)(rtw_update_txpwr_level_all_hwband)), adapter_to_dvobj(adapter), 2000);
// rtw_run_in_thread_cmd_wait(adapter, ((void *)(rtw_update_txpwr_level_all_hwband)), adapter_to_dvobj(adapter), 2000);

exit:
return ret;
Expand Down

0 comments on commit 14d78c6

Please sign in to comment.