aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2009-08-18 10:50:34 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-08-20 11:36:03 -0400
commite5539bcbf64fdb16af73b5c8caff9255307490b5 (patch)
treee2247c5325ab86067ba2f2e3f31c341b528c9277
parent29508d122a5228c2a68d1e9a39251d3991b3cfef (diff)
wl1271: remove print_mac usage
CC [M] drivers/net/wireless/wl12xx/wl1271_main.o drivers/net/wireless/wl12xx/wl1271_main.c: In function ‘wl1271_op_add_interface’: drivers/net/wireless/wl12xx/wl1271_main.c:611: warning: ‘print_mac’ is deprecated (declared at include/linux/if_ether.h:142) Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/wl12xx/wl1271_main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_main.c b/drivers/net/wireless/wl12xx/wl1271_main.c
index 754be8179307..d9169b47ac42 100644
--- a/drivers/net/wireless/wl12xx/wl1271_main.c
+++ b/drivers/net/wireless/wl12xx/wl1271_main.c
@@ -605,11 +605,10 @@ static int wl1271_op_add_interface(struct ieee80211_hw *hw,
605 struct ieee80211_if_init_conf *conf) 605 struct ieee80211_if_init_conf *conf)
606{ 606{
607 struct wl1271 *wl = hw->priv; 607 struct wl1271 *wl = hw->priv;
608 DECLARE_MAC_BUF(mac);
609 int ret = 0; 608 int ret = 0;
610 609
611 wl1271_debug(DEBUG_MAC80211, "mac80211 add interface type %d mac %s", 610 wl1271_debug(DEBUG_MAC80211, "mac80211 add interface type %d mac %pM",
612 conf->type, print_mac(mac, conf->mac_addr)); 611 conf->type, conf->mac_addr);
613 612
614 mutex_lock(&wl->mutex); 613 mutex_lock(&wl->mutex);
615 614