Skip to contentSkip to conversation

rtl818x: small cleanup

PATCH In review okias 3 participants 3 messages Feb 17, 2010 Networking drivers (wireless)

lore
Share & tools
lore

okias

author
#0 lore raw

PATCH 1/1 rtl818x: small cleanup

-2 lines...

Signature · 2 lines
Jabber/XMPP: [email protected]
SIP VoIP: sip:[email protected]

From fbbd51121e6558d103f1f83169cd078e70970a1b Mon Sep 17 00:00:00 2001
From: David Heidelberger <[email protected]>
Date: Wed, 17 Feb 2010 17:09:03 +0100
Subject: [PATCH] wireless/rtl818x: small cleanup

---
 drivers/net/wireless/rtl818x/rtl8187_dev.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
drivers/net/wireless/rtl818x/rtl8187_dev.c +1 -3
index 7ba3052..2cc6881 100644
@@ -1165,7 +1165,7 @@ static void rtl8187_bss_info_changed(struct ieee80211_hw *dev,
 {
 	struct rtl8187_priv *priv = dev->priv;
 	int i;
-	u8 reg;
+	u8 reg = 0;
 
 	if (changed & BSS_CHANGED_BSSID) {
 		mutex_lock(&priv->conf_mutex);
@@ -1175,8 +1175,6 @@ static void rtl8187_bss_info_changed(struct ieee80211_hw *dev,
 
 		if (priv->is_rtl8187b)
 			reg = RTL818X_MSR_ENEDCA;
-		else
-			reg = 0;
 
 		if (is_valid_ether_addr(info->bssid)) {
 			reg |= RTL818X_MSR_INFRA;
Signature · 1 line
1.7.0
#1 lore raw
Quoted 1 line · okias

-2 lines...

Your patch is fine, but there are problems in the presentation. For review purposes, it should be in-line, not as an attachment. The second problem is that the patch is for rtl8187, not for wireless/rtl818x. There are 2 drivers, soon to be more, in that particular directory.

Larry

#2 lore raw
In reply to okias
Quoted 1 line · okias

-2 lines...

Acked,

The content is fine, but you know the kernel patch submission guide line explicitly states that patches should be in-line (use git-send-mail is easiest).