aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/rx.c
diff options
context:
space:
mode:
authorRami Rosen <ramirose@gmail.com>2008-12-11 07:00:25 -0500
committerJohn W. Linville <linville@tuxdriver.com>2008-12-12 14:45:27 -0500
commitab1f5c0bb8edbaee81c1672733f8dc4d0a5f5ea5 (patch)
tree3eb339986b05fdbd9e5e4a221a4a842af7ab9c20 /net/mac80211/rx.c
parent4dec9b807be757780ca3611a959ac22c28d292a7 (diff)
mac80211: misc cleanups
This patch removes unneeded member (skbuff) from ieee80211_ibss_add_sta() method in its declaration (in ieee80211_i.h) and its callers (in rx.c and mlme.c) This patch removes unneeded member from struct ieee80211_rx_data in ieee80211_i.h. (Originally posted as two patches. -- JWL) Signed-off-by: Rami Rosen <ramirose@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/rx.c')
-rw-r--r--net/mac80211/rx.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c
index 23443de7ee4e..73cf126cef49 100644
--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
@@ -1850,9 +1850,8 @@ static int prepare_for_handlers(struct ieee80211_sub_if_data *sdata,
1850 return 0; 1850 return 0;
1851 rx->flags &= ~IEEE80211_RX_RA_MATCH; 1851 rx->flags &= ~IEEE80211_RX_RA_MATCH;
1852 } else if (!rx->sta) 1852 } else if (!rx->sta)
1853 rx->sta = ieee80211_ibss_add_sta(sdata, rx->skb, 1853 rx->sta = ieee80211_ibss_add_sta(sdata, bssid, hdr->addr2,
1854 bssid, hdr->addr2, 1854 BIT(rx->status->rate_idx));
1855 BIT(rx->status->rate_idx));
1856 break; 1855 break;
1857 case NL80211_IFTYPE_MESH_POINT: 1856 case NL80211_IFTYPE_MESH_POINT:
1858 if (!multicast && 1857 if (!multicast &&