Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
14 lines
315 B
Diff
14 lines
315 B
Diff
--- a/iwconfig.c
|
|
+++ b/iwconfig.c
|
|
@@ -1034,8 +1034,8 @@ set_power_info(int skfd,
|
|
wrq.u.power.disabled = 0;
|
|
|
|
/* Is there any value to grab ? */
|
|
- value = strtod(args[0], &unit);
|
|
- if(unit != args[0])
|
|
+ value = strtod(args[i], &unit);
|
|
+ if(unit != args[i])
|
|
{
|
|
struct iw_range range;
|
|
int flags;
|