File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
drivers/staging/rtl8192e/rtl8192e Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -1637,10 +1637,6 @@ static void _rtl92e_dm_check_rf_ctrl_gpio(void *data)
1637
1637
u8 tmp1byte ;
1638
1638
enum rt_rf_power_state rf_power_state_to_set ;
1639
1639
bool bActuallySet = false;
1640
- char * argv [3 ];
1641
- static const char RadioPowerPath [] = "/etc/acpi/events/RadioPower.sh" ;
1642
- static char * envp [] = {"HOME=/" , "TERM=linux" , "PATH=/usr/bin:/bin" ,
1643
- NULL };
1644
1640
1645
1641
bActuallySet = false;
1646
1642
@@ -1670,14 +1666,6 @@ static void _rtl92e_dm_check_rf_ctrl_gpio(void *data)
1670
1666
mdelay (1000 );
1671
1667
priv -> hw_rf_off_action = 1 ;
1672
1668
rtl92e_set_rf_state (dev , rf_power_state_to_set , RF_CHANGE_BY_HW );
1673
- if (priv -> hw_radio_off )
1674
- argv [1 ] = "RFOFF" ;
1675
- else
1676
- argv [1 ] = "RFON" ;
1677
-
1678
- argv [0 ] = (char * )RadioPowerPath ;
1679
- argv [2 ] = NULL ;
1680
- call_usermodehelper (RadioPowerPath , argv , envp , UMH_WAIT_PROC );
1681
1669
}
1682
1670
}
1683
1671
You can’t perform that action at this time.
0 commit comments