diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-11-11 16:59:31 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-11-11 16:59:31 +0000 |
commit | f61d14f781a534fc613ed4f922c61e042c413fb8 (patch) | |
tree | 4b80874348a99142750ecb4c66a69a4e5252ef54 /package/wireless-tools/patches | |
parent | c8c6f7ec39a3e6f66c8a6deb9fc68e6832c097e6 (diff) | |
download | mtk-20170518-f61d14f781a534fc613ed4f922c61e042c413fb8.zip mtk-20170518-f61d14f781a534fc613ed4f922c61e042c413fb8.tar.gz mtk-20170518-f61d14f781a534fc613ed4f922c61e042c413fb8.tar.bz2 |
wireless-tools: re-enable support for enabling/disabling powersave
SVN-Revision: 18378
Diffstat (limited to 'package/wireless-tools/patches')
-rw-r--r-- | package/wireless-tools/patches/003-we_essential_def.patch | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/package/wireless-tools/patches/003-we_essential_def.patch b/package/wireless-tools/patches/003-we_essential_def.patch index 6b28099..15c41e9 100644 --- a/package/wireless-tools/patches/003-we_essential_def.patch +++ b/package/wireless-tools/patches/003-we_essential_def.patch @@ -103,22 +103,6 @@ /* Display encryption information */ /* Note : we display only the "current" key, use iwlist to list all keys */ -@@ -995,6 +995,7 @@ set_enc_info(int skfd, - return(i); - } - -+#ifndef WE_ESSENTIAL - /*------------------------------------------------------------------*/ - /* - * Set Power Management -@@ -1111,7 +1112,6 @@ set_power_info(int skfd, - return(i); - } - --#ifndef WE_ESSENTIAL - /*------------------------------------------------------------------*/ - /* - * Set Nickname @@ -1196,6 +1196,7 @@ set_nwid_info(int skfd, /* 1 arg */ return(1); @@ -151,15 +135,7 @@ /*------------------------------------------------------------------*/ /* * Set Modulation -@@ -1712,28 +1716,28 @@ static const struct iwconfig_entry iwcon - "Set Encode", "{NNNN-NNNN|off}" }, - { "key", set_enc_info, 1, SIOCSIWENCODE, - "Set Encode", "{NNNN-NNNN|off}" }, -+#ifndef WE_ESSENTIAL - { "power", set_power_info, 1, SIOCSIWPOWER, - "Set Power Management", "{period N|timeout N|saving N|off}" }, --#ifndef WE_ESSENTIAL - { "nickname", set_nick_info, 1, SIOCSIWNICKN, +@@ -1719,21 +1723,21 @@ static const struct iwconfig_entry iwcon "Set Nickname", "NNN" }, { "nwid", set_nwid_info, 1, SIOCSIWNWID, "Set NWID", "{NN|on|off}" }, |