All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <200711161929.36283.mboton.lkml@gmail.com>

diff --git a/a/1.txt b/N1/1.txt
index d2057ef..4a31f32 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -1,31 +1,28 @@
 This patch adds power management support in mac80211.
 
-This allows us to enable power management through the "iwconfig <device=
-> power <off/on>" command.
+This allows us to enable power management through the "iwconfig <device> power <off/on>" command.
 The code is based on "mac80211-10.0.0" but it is a little bit modified.
 
-Signed-off-by: Miguel Bot=C3=B3n <mboton@gmail.com>
+Signed-off-by: Miguel Botón <mboton@gmail.com>
 
-diff --git a/net/mac80211/ieee80211_ioctl.c b/net/mac80211/ieee80211_io=
-ctl.c
+diff --git a/net/mac80211/ieee80211_ioctl.c b/net/mac80211/ieee80211_ioctl.c
 index 6caa3ec..f5eebec 100644
 --- a/net/mac80211/ieee80211_ioctl.c
 +++ b/net/mac80211/ieee80211_ioctl.c
-@@ -674,6 +687,51 @@ static int ieee80211_ioctl_giwtxpower(struct net_d=
-evice *dev,
+@@ -674,6 +687,51 @@ static int ieee80211_ioctl_giwtxpower(struct net_device *dev,
  	return 0;
  }
-=20
+ 
 +static int ieee80211_ioctl_siwpower(struct net_device *dev,
 +				    struct iw_request_info *info,
 +				    union iwreq_data *wrqu,
 +				    char *extra)
 +{
-+	struct ieee80211_local *local =3D wdev_priv(dev->ieee80211_ptr);
-+	struct ieee80211_conf *conf =3D &local->hw.conf;
++	struct ieee80211_local *local = wdev_priv(dev->ieee80211_ptr);
++	struct ieee80211_conf *conf = &local->hw.conf;
 +
 +	if (wrqu->power.disabled) {
-+		conf->power_management_enable =3D 0;
++		conf->power_management_enable = 0;
 +		if (ieee80211_hw_config(local))
 +			return -EINVAL;
 +		return 0;
@@ -40,7 +37,7 @@ evice *dev,
 +		return -EINVAL;
 +	}
 +
-+	conf->power_management_enable =3D 1;
++	conf->power_management_enable = 1;
 +
 +	if (ieee80211_hw_config(local))
 +		return -EINVAL;
@@ -53,10 +50,10 @@ evice *dev,
 +				    union iwreq_data *wrqu,
 +				    char *extra)
 +{
-+	struct ieee80211_local *local =3D wdev_priv(dev->ieee80211_ptr);
-+	struct ieee80211_conf *conf =3D &local->hw.conf;
++	struct ieee80211_local *local = wdev_priv(dev->ieee80211_ptr);
++	struct ieee80211_conf *conf = &local->hw.conf;
 +
-+	wrqu->power.disabled =3D !conf->power_management_enable;
++	wrqu->power.disabled = !conf->power_management_enable;
 +
 +	return 0;
 +}
@@ -64,7 +61,7 @@ evice *dev,
  static int ieee80211_ioctl_siwrts(struct net_device *dev,
  				  struct iw_request_info *info,
  				  struct iw_param *rts, char *extra)
-@@ -1111,8 +1166,8 @@ static const iw_handler ieee80211_handler[] =3D
+@@ -1111,8 +1166,8 @@ static const iw_handler ieee80211_handler[] =
  	(iw_handler) ieee80211_ioctl_giwretry,		/* SIOCGIWRETRY */
  	(iw_handler) ieee80211_ioctl_siwencode,		/* SIOCSIWENCODE */
  	(iw_handler) ieee80211_ioctl_giwencode,		/* SIOCGIWENCODE */
@@ -77,10 +74,5 @@ evice *dev,
  	(iw_handler) ieee80211_ioctl_siwgenie,		/* SIOCSIWGENIE */
 
 
---=20
-	Miguel Bot=C3=B3n
--
-To unsubscribe from this list: send the line "unsubscribe linux-wireles=
-s" in
-the body of a message to majordomo@vger.kernel.org
-More majordomo info at  http://vger.kernel.org/majordomo-info.html
+-- 
+	Miguel Botón
diff --git a/a/content_digest b/N1/content_digest
index 4edab35..0ad8f79 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -9,32 +9,29 @@
  "b\0"
  "This patch adds power management support in mac80211.\n"
  "\n"
- "This allows us to enable power management through the \"iwconfig <device=\n"
- "> power <off/on>\" command.\n"
+ "This allows us to enable power management through the \"iwconfig <device> power <off/on>\" command.\n"
  "The code is based on \"mac80211-10.0.0\" but it is a little bit modified.\n"
  "\n"
- "Signed-off-by: Miguel Bot=C3=B3n <mboton@gmail.com>\n"
+ "Signed-off-by: Miguel Bot\303\263n <mboton@gmail.com>\n"
  "\n"
- "diff --git a/net/mac80211/ieee80211_ioctl.c b/net/mac80211/ieee80211_io=\n"
- "ctl.c\n"
+ "diff --git a/net/mac80211/ieee80211_ioctl.c b/net/mac80211/ieee80211_ioctl.c\n"
  "index 6caa3ec..f5eebec 100644\n"
  "--- a/net/mac80211/ieee80211_ioctl.c\n"
  "+++ b/net/mac80211/ieee80211_ioctl.c\n"
- "@@ -674,6 +687,51 @@ static int ieee80211_ioctl_giwtxpower(struct net_d=\n"
- "evice *dev,\n"
+ "@@ -674,6 +687,51 @@ static int ieee80211_ioctl_giwtxpower(struct net_device *dev,\n"
  " \treturn 0;\n"
  " }\n"
- "=20\n"
+ " \n"
  "+static int ieee80211_ioctl_siwpower(struct net_device *dev,\n"
  "+\t\t\t\t    struct iw_request_info *info,\n"
  "+\t\t\t\t    union iwreq_data *wrqu,\n"
  "+\t\t\t\t    char *extra)\n"
  "+{\n"
- "+\tstruct ieee80211_local *local =3D wdev_priv(dev->ieee80211_ptr);\n"
- "+\tstruct ieee80211_conf *conf =3D &local->hw.conf;\n"
+ "+\tstruct ieee80211_local *local = wdev_priv(dev->ieee80211_ptr);\n"
+ "+\tstruct ieee80211_conf *conf = &local->hw.conf;\n"
  "+\n"
  "+\tif (wrqu->power.disabled) {\n"
- "+\t\tconf->power_management_enable =3D 0;\n"
+ "+\t\tconf->power_management_enable = 0;\n"
  "+\t\tif (ieee80211_hw_config(local))\n"
  "+\t\t\treturn -EINVAL;\n"
  "+\t\treturn 0;\n"
@@ -49,7 +46,7 @@
  "+\t\treturn -EINVAL;\n"
  "+\t}\n"
  "+\n"
- "+\tconf->power_management_enable =3D 1;\n"
+ "+\tconf->power_management_enable = 1;\n"
  "+\n"
  "+\tif (ieee80211_hw_config(local))\n"
  "+\t\treturn -EINVAL;\n"
@@ -62,10 +59,10 @@
  "+\t\t\t\t    union iwreq_data *wrqu,\n"
  "+\t\t\t\t    char *extra)\n"
  "+{\n"
- "+\tstruct ieee80211_local *local =3D wdev_priv(dev->ieee80211_ptr);\n"
- "+\tstruct ieee80211_conf *conf =3D &local->hw.conf;\n"
+ "+\tstruct ieee80211_local *local = wdev_priv(dev->ieee80211_ptr);\n"
+ "+\tstruct ieee80211_conf *conf = &local->hw.conf;\n"
  "+\n"
- "+\twrqu->power.disabled =3D !conf->power_management_enable;\n"
+ "+\twrqu->power.disabled = !conf->power_management_enable;\n"
  "+\n"
  "+\treturn 0;\n"
  "+}\n"
@@ -73,7 +70,7 @@
  " static int ieee80211_ioctl_siwrts(struct net_device *dev,\n"
  " \t\t\t\t  struct iw_request_info *info,\n"
  " \t\t\t\t  struct iw_param *rts, char *extra)\n"
- "@@ -1111,8 +1166,8 @@ static const iw_handler ieee80211_handler[] =3D\n"
+ "@@ -1111,8 +1166,8 @@ static const iw_handler ieee80211_handler[] =\n"
  " \t(iw_handler) ieee80211_ioctl_giwretry,\t\t/* SIOCGIWRETRY */\n"
  " \t(iw_handler) ieee80211_ioctl_siwencode,\t\t/* SIOCSIWENCODE */\n"
  " \t(iw_handler) ieee80211_ioctl_giwencode,\t\t/* SIOCGIWENCODE */\n"
@@ -86,12 +83,7 @@
  " \t(iw_handler) ieee80211_ioctl_siwgenie,\t\t/* SIOCSIWGENIE */\n"
  "\n"
  "\n"
- "--=20\n"
- "\tMiguel Bot=C3=B3n\n"
- "-\n"
- "To unsubscribe from this list: send the line \"unsubscribe linux-wireles=\n"
- "s\" in\n"
- "the body of a message to majordomo@vger.kernel.org\n"
- More majordomo info at  http://vger.kernel.org/majordomo-info.html
+ "-- \n"
+ "\tMiguel Bot\303\263n"
 
-3a384598e6d02445bfdc86618b8c192dd0fb4c379b1ab93b75e1e33997acfc58
+f3e6dcaee6e603e865f9f1a14885e7df09257a335e06198cfcbe03c5b693c9e0

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.