simwifi: Fix the error of the return value in wifidriver_set_txpower.
Signed-off-by: liqinhui <liqinhui@xiaomi.com>
This commit is contained in:
parent
91d849b70e
commit
4fa5451595
1 changed files with 1 additions and 1 deletions
|
@ -1119,7 +1119,7 @@ static int wifidriver_get_freq(FAR struct wifi_sim_s *wifidev,
|
|||
int wifidriver_set_txpower(FAR struct wifi_sim_s *wifidev,
|
||||
FAR struct iwreq *pwrq)
|
||||
{
|
||||
int ret;
|
||||
int ret = OK;
|
||||
|
||||
switch (wifidev->mode)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue