|
@@ -160,8 +160,6 @@ static int net80211_ll_push ( struct net_device *netdev,
|
160
|
160
|
static int net80211_ll_pull ( struct net_device *netdev,
|
161
|
161
|
struct io_buffer *iobuf, const void **ll_dest,
|
162
|
162
|
const void **ll_source, uint16_t * net_proto );
|
163
|
|
-static int net80211_ll_mc_hash ( unsigned int af, const void *net_addr,
|
164
|
|
- void *ll_addr );
|
165
|
163
|
/** @} */
|
166
|
164
|
|
167
|
165
|
/**
|
|
@@ -580,23 +578,6 @@ static int net80211_ll_pull ( struct net_device *netdev __unused,
|
580
|
578
|
return 0;
|
581
|
579
|
}
|
582
|
580
|
|
583
|
|
-/**
|
584
|
|
- * Hash 802.11 multicast address
|
585
|
|
- *
|
586
|
|
- * @v af Address family
|
587
|
|
- * @v net_addr Network-layer address
|
588
|
|
- * @ret ll_addr Filled link-layer address
|
589
|
|
- * @ret rc Return status code
|
590
|
|
- *
|
591
|
|
- * Currently unimplemented.
|
592
|
|
- */
|
593
|
|
-static int net80211_ll_mc_hash ( unsigned int af __unused,
|
594
|
|
- const void *net_addr __unused,
|
595
|
|
- void *ll_addr __unused )
|
596
|
|
-{
|
597
|
|
- return -ENOTSUP;
|
598
|
|
-}
|
599
|
|
-
|
600
|
581
|
/** 802.11 link-layer protocol */
|
601
|
582
|
static struct ll_protocol net80211_ll_protocol __ll_protocol = {
|
602
|
583
|
.name = "802.11",
|
|
@@ -604,7 +585,7 @@ static struct ll_protocol net80211_ll_protocol __ll_protocol = {
|
604
|
585
|
.pull = net80211_ll_pull,
|
605
|
586
|
.init_addr = eth_init_addr,
|
606
|
587
|
.ntoa = eth_ntoa,
|
607
|
|
- .mc_hash = net80211_ll_mc_hash,
|
|
588
|
+ .mc_hash = eth_mc_hash,
|
608
|
589
|
.ll_proto = htons ( ARPHRD_ETHER ), /* "encapsulated Ethernet" */
|
609
|
590
|
.hw_addr_len = ETH_ALEN,
|
610
|
591
|
.ll_addr_len = ETH_ALEN,
|