Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless
[deliverable/linux.git] / net / mac80211 / tx.c
index e453212fa17f741bc380b2cbdabe59ee4f6df5d7..af25c4e7ec5cf445b47a1244c0414f643aa19401 100644 (file)
@@ -297,9 +297,8 @@ ieee80211_tx_h_check_assoc(struct ieee80211_tx_data *tx)
                if (unlikely(!assoc &&
                             ieee80211_is_data(hdr->frame_control))) {
 #ifdef CONFIG_MAC80211_VERBOSE_DEBUG
-                       printk(KERN_DEBUG "%s: dropped data frame to not "
-                              "associated station %pM\n",
-                              tx->sdata->name, hdr->addr1);
+                       pr_debug("%s: dropped data frame to not associated station %pM\n",
+                                tx->sdata->name, hdr->addr1);
 #endif /* CONFIG_MAC80211_VERBOSE_DEBUG */
                        I802_DEBUG_INC(tx->local->tx_handlers_drop_not_assoc);
                        return TX_DROP;
@@ -467,8 +466,8 @@ ieee80211_tx_h_unicast_ps_buf(struct ieee80211_tx_data *tx)
                }
 
 #ifdef CONFIG_MAC80211_VERBOSE_PS_DEBUG
-               printk(KERN_DEBUG "STA %pM aid %d: PS buffer for AC %d\n",
-                      sta->sta.addr, sta->sta.aid, ac);
+               pr_debug("STA %pM aid %d: PS buffer for AC %d\n",
+                        sta->sta.addr, sta->sta.aid, ac);
 #endif /* CONFIG_MAC80211_VERBOSE_PS_DEBUG */
                if (tx->local->total_ps_buffered >= TOTAL_MAX_TX_BUFFER)
                        purge_old_ps_buffers(tx->local);
@@ -502,9 +501,8 @@ ieee80211_tx_h_unicast_ps_buf(struct ieee80211_tx_data *tx)
        }
 #ifdef CONFIG_MAC80211_VERBOSE_PS_DEBUG
        else if (unlikely(test_sta_flag(sta, WLAN_STA_PS_STA))) {
-               printk(KERN_DEBUG
-                      "%s: STA %pM in PS mode, but polling/in SP -> send frame\n",
-                      tx->sdata->name, sta->sta.addr);
+               pr_debug("%s: STA %pM in PS mode, but polling/in SP -> send frame\n",
+                        tx->sdata->name, sta->sta.addr);
        }
 #endif /* CONFIG_MAC80211_VERBOSE_PS_DEBUG */
 
This page took 0.045285 seconds and 5 git commands to generate.