aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwl8k.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/mwl8k.c')
-rw-r--r--drivers/net/wireless/mwl8k.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/wireless/mwl8k.c b/drivers/net/wireless/mwl8k.c
index b9eded88c322..4f725473fb73 100644
--- a/drivers/net/wireless/mwl8k.c
+++ b/drivers/net/wireless/mwl8k.c
@@ -2271,7 +2271,6 @@ static int mwl8k_cmd_update_sta_db(struct ieee80211_hw *hw,
2271 struct mwl8k_cmd_update_sta_db *cmd; 2271 struct mwl8k_cmd_update_sta_db *cmd;
2272 struct peer_capability_info *peer_info; 2272 struct peer_capability_info *peer_info;
2273 struct ieee80211_rate *bitrates = mv_vif->legacy_rates; 2273 struct ieee80211_rate *bitrates = mv_vif->legacy_rates;
2274 DECLARE_MAC_BUF(mac);
2275 int rc; 2274 int rc;
2276 __u8 count, *rates; 2275 __u8 count, *rates;
2277 2276
@@ -3480,7 +3479,6 @@ static int __devinit mwl8k_probe(struct pci_dev *pdev,
3480{ 3479{
3481 struct ieee80211_hw *hw; 3480 struct ieee80211_hw *hw;
3482 struct mwl8k_priv *priv; 3481 struct mwl8k_priv *priv;
3483 DECLARE_MAC_BUF(mac);
3484 int rc; 3482 int rc;
3485 int i; 3483 int i;
3486 u8 *fw; 3484 u8 *fw;
@@ -3669,8 +3667,8 @@ static int __devinit mwl8k_probe(struct pci_dev *pdev,
3669 MWL8K_DESC); 3667 MWL8K_DESC);
3670 printk(KERN_INFO "%s: Driver Ver:%s Firmware Ver:%u.%u.%u.%u\n", 3668 printk(KERN_INFO "%s: Driver Ver:%s Firmware Ver:%u.%u.%u.%u\n",
3671 priv->name, MWL8K_VERSION, fw[3], fw[2], fw[1], fw[0]); 3669 priv->name, MWL8K_VERSION, fw[3], fw[2], fw[1], fw[0]);
3672 printk(KERN_INFO "%s: MAC Address: %s\n", priv->name, 3670 printk(KERN_INFO "%s: MAC Address: %pM\n", priv->name,
3673 print_mac(mac, hw->wiphy->perm_addr)); 3671 hw->wiphy->perm_addr);
3674 3672
3675 return 0; 3673 return 0;
3676 3674