All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <5DCD2D66.2050206@bfs.de>

diff --git a/a/1.txt b/N1/1.txt
index 19f1cb2..bfc7311 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -20,9 +20,9 @@ Am 14.11.2019 10:54, schrieb Colin King:
 >  	struct r8192_priv *priv = ieee80211_priv(dev);
 >  	u16 tx_rate;
 > -		/* 87B have to S/W beacon for DTM encryption_cmn. */
-> -		if (priv->ieee80211->current_network.mode = IEEE_A ||
-> -		    priv->ieee80211->current_network.mode = IEEE_N_5G ||
-> -		    (priv->ieee80211->current_network.mode = IEEE_N_24G &&
+> -		if (priv->ieee80211->current_network.mode == IEEE_A ||
+> -		    priv->ieee80211->current_network.mode == IEEE_N_5G ||
+> -		    (priv->ieee80211->current_network.mode == IEEE_N_24G &&
 > -		     (!priv->ieee80211->pHTInfo->bCurSuppCCK))) {
 > -			tx_rate = 60;
 > -			DMESG("send beacon frame  tx rate is 6Mbpm\n");
@@ -33,9 +33,9 @@ Am 14.11.2019 10:54, schrieb Colin King:
 >  
 > -		rtl819xusb_beacon_tx(dev, tx_rate); /* HW Beacon */
 > +	/* 87B have to S/W beacon for DTM encryption_cmn. */
-> +	if (priv->ieee80211->current_network.mode = IEEE_A ||
-> +	    priv->ieee80211->current_network.mode = IEEE_N_5G ||
-> +	    (priv->ieee80211->current_network.mode = IEEE_N_24G &&
+> +	if (priv->ieee80211->current_network.mode == IEEE_A ||
+> +	    priv->ieee80211->current_network.mode == IEEE_N_5G ||
+> +	    (priv->ieee80211->current_network.mode == IEEE_N_24G &&
 > +	     (!priv->ieee80211->pHTInfo->bCurSuppCCK))) {
 > +		tx_rate = 60;
 > +		DMESG("send beacon frame  tx rate is 6Mbpm\n");
@@ -69,9 +69,9 @@ Maybe using switch() here is better to read (untested example below).
 
 	}	
 
-	if (txrate = 60 )
+	if (txrate == 60 )
 	     DMESG("send beacon frame  tx rate is 6Mbpm\n");
-	else if (txrate = 10 )
+	else if (txrate == 10 )
 	     DMESG("send beacon frame  tx rate is 1Mbpm\n");
 
 JM2C
diff --git a/a/content_digest b/N1/content_digest
index 4becc87..5a37fb4 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,12 +1,12 @@
  "ref\020191114095430.132120-1-colin.king@canonical.com\0"
  "From\0walter harms <wharms@bfs.de>\0"
  "Subject\0Re: [PATCH] staging: rtl8192u: fix indentation issue\0"
- "Date\0Thu, 14 Nov 2019 10:33:10 +0000\0"
+ "Date\0Thu, 14 Nov 2019 11:33:10 +0100\0"
  "To\0linux-kernel@vger.kernel.org\0"
- "Cc\0devel@driverdev.osuosl.org"
-  Colin King <colin.king@canonical.com>
-  kernel-janitors@vger.kernel.org
- " Greg Kroah-Hartman <gregkh@linuxfoundation.org>\0"
+ "Cc\0Colin King <colin.king@canonical.com>"
+  Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+  devel@driverdev.osuosl.org
+ " kernel-janitors@vger.kernel.org\0"
  "\00:1\0"
  "b\0"
  "\n"
@@ -31,9 +31,9 @@
  ">  \tstruct r8192_priv *priv = ieee80211_priv(dev);\n"
  ">  \tu16 tx_rate;\n"
  "> -\t\t/* 87B have to S/W beacon for DTM encryption_cmn. */\n"
- "> -\t\tif (priv->ieee80211->current_network.mode = IEEE_A ||\n"
- "> -\t\t    priv->ieee80211->current_network.mode = IEEE_N_5G ||\n"
- "> -\t\t    (priv->ieee80211->current_network.mode = IEEE_N_24G &&\n"
+ "> -\t\tif (priv->ieee80211->current_network.mode == IEEE_A ||\n"
+ "> -\t\t    priv->ieee80211->current_network.mode == IEEE_N_5G ||\n"
+ "> -\t\t    (priv->ieee80211->current_network.mode == IEEE_N_24G &&\n"
  "> -\t\t     (!priv->ieee80211->pHTInfo->bCurSuppCCK))) {\n"
  "> -\t\t\ttx_rate = 60;\n"
  "> -\t\t\tDMESG(\"send beacon frame  tx rate is 6Mbpm\\n\");\n"
@@ -44,9 +44,9 @@
  ">  \n"
  "> -\t\trtl819xusb_beacon_tx(dev, tx_rate); /* HW Beacon */\n"
  "> +\t/* 87B have to S/W beacon for DTM encryption_cmn. */\n"
- "> +\tif (priv->ieee80211->current_network.mode = IEEE_A ||\n"
- "> +\t    priv->ieee80211->current_network.mode = IEEE_N_5G ||\n"
- "> +\t    (priv->ieee80211->current_network.mode = IEEE_N_24G &&\n"
+ "> +\tif (priv->ieee80211->current_network.mode == IEEE_A ||\n"
+ "> +\t    priv->ieee80211->current_network.mode == IEEE_N_5G ||\n"
+ "> +\t    (priv->ieee80211->current_network.mode == IEEE_N_24G &&\n"
  "> +\t     (!priv->ieee80211->pHTInfo->bCurSuppCCK))) {\n"
  "> +\t\ttx_rate = 60;\n"
  "> +\t\tDMESG(\"send beacon frame  tx rate is 6Mbpm\\n\");\n"
@@ -80,9 +80,9 @@
  "\n"
  "\t}\t\n"
  "\n"
- "\tif (txrate = 60 )\n"
+ "\tif (txrate == 60 )\n"
  "\t     DMESG(\"send beacon frame  tx rate is 6Mbpm\\n\");\n"
- "\telse if (txrate = 10 )\n"
+ "\telse if (txrate == 10 )\n"
  "\t     DMESG(\"send beacon frame  tx rate is 1Mbpm\\n\");\n"
  "\n"
  "JM2C\n"
@@ -90,4 +90,4 @@
  "re,\n"
   wh
 
-0f666f336c78f2777ac38e2ad6e98cea1e0f1be875ee814e85ac3a1a3aff806d
+e7e98982576a98671fd2f40d1d81b6cdfa304deec4c83ee0eb50127753a1ee09

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.