diff options
Diffstat (limited to 'drivers/net/wireless/libertas/main.c')
-rw-r--r-- | drivers/net/wireless/libertas/main.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c index a54171af7b97..5ead08312e1e 100644 --- a/drivers/net/wireless/libertas/main.c +++ b/drivers/net/wireless/libertas/main.c | |||
@@ -677,6 +677,7 @@ static void libertas_set_multicast_list(struct net_device *dev) | |||
677 | wlan_private *priv = dev->priv; | 677 | wlan_private *priv = dev->priv; |
678 | wlan_adapter *adapter = priv->adapter; | 678 | wlan_adapter *adapter = priv->adapter; |
679 | int oldpacketfilter; | 679 | int oldpacketfilter; |
680 | DECLARE_MAC_BUF(mac); | ||
680 | 681 | ||
681 | lbs_deb_enter(LBS_DEB_NET); | 682 | lbs_deb_enter(LBS_DEB_NET); |
682 | 683 | ||
@@ -723,14 +724,9 @@ static void libertas_set_multicast_list(struct net_device *dev) | |||
723 | dev->mc_count); | 724 | dev->mc_count); |
724 | 725 | ||
725 | for (i = 0; i < dev->mc_count; i++) { | 726 | for (i = 0; i < dev->mc_count; i++) { |
726 | lbs_deb_net("Multicast address %d:" | 727 | lbs_deb_net("Multicast address %d:%s\n", |
727 | MAC_FMT "\n", i, | 728 | i, print_mac(mac, |
728 | adapter->multicastlist[i][0], | 729 | adapter->multicastlist[i])); |
729 | adapter->multicastlist[i][1], | ||
730 | adapter->multicastlist[i][2], | ||
731 | adapter->multicastlist[i][3], | ||
732 | adapter->multicastlist[i][4], | ||
733 | adapter->multicastlist[i][5]); | ||
734 | } | 730 | } |
735 | /* send multicast addresses to firmware */ | 731 | /* send multicast addresses to firmware */ |
736 | libertas_prepare_and_send_command(priv, | 732 | libertas_prepare_and_send_command(priv, |