Search Linux Wireless

[PATCH] rt2x00: fix build break from (struct interface *)->id typo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  CC [M]  drivers/net/wireless/mac80211/rt2x00/rt2x00mac.o drivers/net/wireless/mac80211/rt2x00/rt2x00mac.c: In function ‘rt2x00_tx_rts_cts’:
drivers/net/wireless/mac80211/rt2x00/rt2x00mac.c:60: error: ‘struct interface’ has no member named ‘if_id’
drivers/net/wireless/mac80211/rt2x00/rt2x00mac.c:64: error: ‘struct interface’ has no member named ‘if_id’
make[3]: *** [drivers/net/wireless/mac80211/rt2x00/rt2x00mac.o] Error 1

Signed-off-by: John W. Linville <linville@xxxxxxxxxxxxx>
---
FYI...already committed to wireless-dev tree.

 drivers/net/wireless/mac80211/rt2x00/rt2x00mac.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/wireless/mac80211/rt2x00/rt2x00mac.c b/drivers/net/wireless/mac80211/rt2x00/rt2x00mac.c
index cc84198..447c55c 100644
--- a/drivers/net/wireless/mac80211/rt2x00/rt2x00mac.c
+++ b/drivers/net/wireless/mac80211/rt2x00/rt2x00mac.c
@@ -57,11 +57,11 @@ static int rt2x00_tx_rts_cts(struct rt2x00_dev *rt2x00dev,
 	skb_put(skb, size);
 
 	if (control->flags & IEEE80211_TXCTL_USE_CTS_PROTECT)
-		ieee80211_ctstoself_get(rt2x00dev->hw, rt2x00dev->interface.if_id,
+		ieee80211_ctstoself_get(rt2x00dev->hw, rt2x00dev->interface.id,
 			frag_skb->data, frag_skb->len, control,
 			(struct ieee80211_cts*)(skb->data));
 	else
-		ieee80211_rts_get(rt2x00dev->hw, rt2x00dev->interface.if_id,
+		ieee80211_rts_get(rt2x00dev->hw, rt2x00dev->interface.id,
 			frag_skb->data, frag_skb->len, control,
 			(struct ieee80211_rts*)(skb->data));
 
-- 
1.5.2.2
-
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux