diff options
author | Jiri Pirko <jpirko@redhat.com> | 2010-04-01 17:22:57 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-03 17:22:15 -0400 |
commit | 22bedad3ce112d5ca1eaf043d4990fa2ed698c87 (patch) | |
tree | b6fba5688d48b1396f01d13ee53610dea7749c15 /drivers/staging/winbond | |
parent | a748ee2426817a95b1f03012d8f339c45c722ae1 (diff) |
net: convert multicast list to list_head
Converts the list and the core manipulating with it to be the same as uc_list.
+uses two functions for adding/removing mc address (normal and "global"
variant) instead of a function parameter.
+removes dev_mcast.c completely.
+exposes netdev_hw_addr_list_* macros along with __hw_addr_* functions for
manipulation with lists on a sandbox (used in bonding and 80211 drivers)
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/staging/winbond')
-rw-r--r-- | drivers/staging/winbond/wbusb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/winbond/wbusb.c b/drivers/staging/winbond/wbusb.c index 3482eec1865..5d9499bba9c 100644 --- a/drivers/staging/winbond/wbusb.c +++ b/drivers/staging/winbond/wbusb.c | |||
@@ -92,10 +92,10 @@ static int wbsoft_get_stats(struct ieee80211_hw *hw, | |||
92 | return 0; | 92 | return 0; |
93 | } | 93 | } |
94 | 94 | ||
95 | static u64 wbsoft_prepare_multicast(struct ieee80211_hw *hw, int mc_count, | 95 | static u64 wbsoft_prepare_multicast(struct ieee80211_hw *hw, |
96 | struct dev_addr_list *mc_list) | 96 | struct netdev_hw_addr_list *mc_list) |
97 | { | 97 | { |
98 | return mc_count; | 98 | return netdev_hw_addr_list_count(mc_list); |
99 | } | 99 | } |
100 | 100 | ||
101 | static void wbsoft_configure_filter(struct ieee80211_hw *dev, | 101 | static void wbsoft_configure_filter(struct ieee80211_hw *dev, |