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

diff --git a/a/1.txt b/N1/1.txt
index 6536515..aa464e5 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -1,16 +1,14 @@
-Today is not a good day for me... I sent the previous patch with wordwr=
-ap enabled.
+Today is not a good day for me... I sent the previous patch with wordwrap enabled.
 This one is the correct.
 
 --
 
 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/include/net/mac80211.h b/include/net/mac80211.h
 index 5fcc4c1..c82b6fa 100644
@@ -21,31 +19,28 @@ index 5fcc4c1..c82b6fa 100644
  	u8 antenna_sel_tx;
  	u8 antenna_sel_rx;
 +
-+	u8 power_management_enable;     /* flag to enable/disable power manag=
-ement */
++	u8 power_management_enable;     /* flag to enable/disable power management */
  };
-=20
+ 
  /**
-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;
@@ -60,7 +55,7 @@ evice *dev,
 +		return -EINVAL;
 +	}
 +
-+	conf->power_management_enable =3D 1;
++	conf->power_management_enable = 1;
 +
 +	if (ieee80211_hw_config(local))
 +		return -EINVAL;
@@ -73,10 +68,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;
 +}
@@ -84,7 +79,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 */
@@ -97,10 +92,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 854a0ec..7a9b679 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -9,19 +9,17 @@
  " yi.zhu@intel.com\0"
  "\00:1\0"
  "b\0"
- "Today is not a good day for me... I sent the previous patch with wordwr=\n"
- "ap enabled.\n"
+ "Today is not a good day for me... I sent the previous patch with wordwrap enabled.\n"
  "This one is the correct.\n"
  "\n"
  "--\n"
  "\n"
  "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/include/net/mac80211.h b/include/net/mac80211.h\n"
  "index 5fcc4c1..c82b6fa 100644\n"
@@ -32,31 +30,28 @@
  " \tu8 antenna_sel_tx;\n"
  " \tu8 antenna_sel_rx;\n"
  "+\n"
- "+\tu8 power_management_enable;     /* flag to enable/disable power manag=\n"
- "ement */\n"
+ "+\tu8 power_management_enable;     /* flag to enable/disable power management */\n"
  " };\n"
- "=20\n"
+ " \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"
@@ -71,7 +66,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"
@@ -84,10 +79,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"
@@ -95,7 +90,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"
@@ -108,12 +103,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"
 
-488b282f257de870188f1de8abf9e550f4d941f2787722c2fd21bc89fbb73464
+ae8c07695665e6b987ecbbe5463135656489923f9864b1569c5fc76f0eda87bd

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.