diff options
author | John W. Linville <linville@tuxdriver.com> | 2011-07-22 17:51:16 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-07-22 17:51:16 -0400 |
commit | 41bf37117b47fc5ce2aae91f6a108e7e42e0b046 (patch) | |
tree | d5c8f24075313edfe548256dd931527f1569921e /drivers/net/wireless/rtlwifi/cam.c | |
parent | 415b3334a21aa67806c52d1acf4e72e14f7f402f (diff) | |
parent | 6e6e8c510a84fe3237ef02b954e58cca6a3f4b1a (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem
Diffstat (limited to 'drivers/net/wireless/rtlwifi/cam.c')
-rw-r--r-- | drivers/net/wireless/rtlwifi/cam.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/net/wireless/rtlwifi/cam.c b/drivers/net/wireless/rtlwifi/cam.c index 7295af0536b7..7babb6acd957 100644 --- a/drivers/net/wireless/rtlwifi/cam.c +++ b/drivers/net/wireless/rtlwifi/cam.c | |||
@@ -27,6 +27,8 @@ | |||
27 | * | 27 | * |
28 | *****************************************************************************/ | 28 | *****************************************************************************/ |
29 | 29 | ||
30 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | ||
31 | |||
30 | #include "wifi.h" | 32 | #include "wifi.h" |
31 | #include "cam.h" | 33 | #include "cam.h" |
32 | 34 | ||
@@ -131,9 +133,9 @@ u8 rtl_cam_add_one_entry(struct ieee80211_hw *hw, u8 *mac_addr, | |||
131 | 133 | ||
132 | RT_TRACE(rtlpriv, COMP_SEC, DBG_DMESG, | 134 | RT_TRACE(rtlpriv, COMP_SEC, DBG_DMESG, |
133 | ("EntryNo:%x, ulKeyId=%x, ulEncAlg=%x, " | 135 | ("EntryNo:%x, ulKeyId=%x, ulEncAlg=%x, " |
134 | "ulUseDK=%x MacAddr" MAC_FMT "\n", | 136 | "ulUseDK=%x MacAddr %pM\n", |
135 | ul_entry_idx, ul_key_id, ul_enc_alg, | 137 | ul_entry_idx, ul_key_id, ul_enc_alg, |
136 | ul_default_key, MAC_ARG(mac_addr))); | 138 | ul_default_key, mac_addr)); |
137 | 139 | ||
138 | if (ul_key_id == TOTAL_CAM_ENTRY) { | 140 | if (ul_key_id == TOTAL_CAM_ENTRY) { |
139 | RT_TRACE(rtlpriv, COMP_ERR, DBG_WARNING, | 141 | RT_TRACE(rtlpriv, COMP_ERR, DBG_WARNING, |
@@ -347,7 +349,7 @@ void rtl_cam_del_entry(struct ieee80211_hw *hw, u8 *sta_addr) | |||
347 | /* Remove from HW Security CAM */ | 349 | /* Remove from HW Security CAM */ |
348 | memset(rtlpriv->sec.hwsec_cam_sta_addr[i], 0, ETH_ALEN); | 350 | memset(rtlpriv->sec.hwsec_cam_sta_addr[i], 0, ETH_ALEN); |
349 | rtlpriv->sec.hwsec_cam_bitmap &= ~(BIT(0) << i); | 351 | rtlpriv->sec.hwsec_cam_bitmap &= ~(BIT(0) << i); |
350 | printk(KERN_INFO "&&&&&&&&&del entry %d\n", i); | 352 | pr_info("&&&&&&&&&del entry %d\n", i); |
351 | } | 353 | } |
352 | } | 354 | } |
353 | return; | 355 | return; |