Subject: [PATCH] rt2x00: Remove xr_end references

From: Ivo van Doorn <[email-masked]>
Date: Wed, 18 Oct 2006 18:07:11 +0200

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 <[email-masked]>

---

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: