All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ivo van Doorn <ivdoorn@gmail.com>
To: netdev@vger.kernel.org
Cc: Jiri Benc <jbenc@suse.cz>, "John W. Linville" <linville@tuxdriver.com>
Subject: [PATCH] rt2x00: Remove xr_end references
Date: Wed, 18 Oct 2006 18:07:11 +0200	[thread overview]
Message-ID: <200610181807.11677.IvDoorn@gmail.com> (raw)

This removes the xr_end references from rt2500usb and rt71usb.
The rt2x00 pci drivers were already fixed by David Kimdon.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>

---

diff --git a/drivers/net/wireless/d80211/rt2x00/rt2500usb.c b/drivers/net/wireless/d80211/rt2x00/rt2500usb.c
index 5d119cd..a181829 100644
--- a/drivers/net/wireless/d80211/rt2x00/rt2500usb.c
+++ b/drivers/net/wireless/d80211/rt2x00/rt2500usb.c
@@ -2676,11 +2676,6 @@ static int rt2500usb_init_hw_modes(struc
 	rt2500usb_init_hw_channels(rt2x00dev, hw->modes[0].channels);
 	rt2500usb_init_hw_rates(rt2x00dev, hw->modes[0].rates);
 
-	/*
-	 * xr_end is only used on Atheros cards.
-	 */
-	hw->modes->xr_end = 0;
-
 	return ieee80211_update_hw(net_dev, hw);
 
 exit_free_channels:
diff --git a/drivers/net/wireless/d80211/rt2x00/rt73usb.c b/drivers/net/wireless/d80211/rt2x00/rt73usb.c
index a3b0996..12407d3 100644
--- a/drivers/net/wireless/d80211/rt2x00/rt73usb.c
+++ b/drivers/net/wireless/d80211/rt2x00/rt73usb.c
@@ -3037,11 +3037,6 @@ static int rt73usb_init_hw_modes(struct 
 	rt73usb_init_hw_channels(rt2x00dev, hw->modes[0].channels);
 	rt73usb_init_hw_rates(rt2x00dev, hw->modes[0].rates);
 
-	/*
-	 * xr_end is only used on Atheros cards.
-	 */
-	hw->modes->xr_end = 0;
-
 	return ieee80211_update_hw(net_dev, hw);
 
 exit_free_channels:

                 reply	other threads:[~2006-10-18 16:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200610181807.11677.IvDoorn@gmail.com \
    --to=ivdoorn@gmail.com \
    --cc=jbenc@suse.cz \
    --cc=linville@tuxdriver.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.