* sub-type. */
        if (elen < 4) {
                if (show_errors) {
-                       DBG_88E("short vendor specific information element ignored (len=%lu)\n",
-                               (unsigned long)elen);
+                       pr_debug("short vendor specific information element ignored (len=%lu)\n",
+                                (unsigned long)elen);
                }
                return -1;
        }
                        break;
                case WME_OUI_TYPE: /* this is a Wi-Fi WME info. element */
                        if (elen < 5) {
-                               DBG_88E("short WME information element ignored (len=%lu)\n",
-                                       (unsigned long)elen);
+                               pr_debug("short WME information element ignored (len=%lu)\n",
+                                        (unsigned long)elen);
                                return -1;
                        }
                        switch (pos[4]) {
                                elems->wme_tspec_len = elen;
                                break;
                        default:
-                               DBG_88E("unknown WME information element ignored (subtype=%d len=%lu)\n",
-                                       pos[4], (unsigned long)elen);
+                               pr_debug("unknown WME information element ignored (subtype=%d len=%lu)\n",
+                                        pos[4], (unsigned long)elen);
                                return -1;
                        }
                        break;
                        elems->wps_ie_len = elen;
                        break;
                default:
-                       DBG_88E("Unknown Microsoft information element ignored (type=%d len=%lu)\n",
-                               pos[3], (unsigned long)elen);
+                       pr_debug("Unknown Microsoft information element ignored (type=%d len=%lu)\n",
+                                pos[3], (unsigned long)elen);
                        return -1;
                }
                break;
                        elems->vendor_ht_cap_len = elen;
                        break;
                default:
-                       DBG_88E("Unknown Broadcom information element ignored (type=%d len=%lu)\n",
-                               pos[3], (unsigned long)elen);
+                       pr_debug("Unknown Broadcom information element ignored (type=%d len=%lu)\n",
+                                pos[3], (unsigned long)elen);
                        return -1;
                }
                break;
        default:
-               DBG_88E("unknown vendor specific information element ignored (vendor OUI %02x:%02x:%02x len=%lu)\n",
-                       pos[0], pos[1], pos[2], (unsigned long)elen);
+               pr_debug("unknown vendor specific information element ignored (vendor OUI %02x:%02x:%02x len=%lu)\n",
+                        pos[0], pos[1], pos[2], (unsigned long)elen);
                return -1;
        }
        return 0;
 
                if (elen > left) {
                        if (show_errors) {
-                               DBG_88E("IEEE 802.11 element parse failed (id=%d elen=%d left=%lu)\n",
-                                       id, elen, (unsigned long)left);
+                               pr_debug("IEEE 802.11 element parse failed (id=%d elen=%d left=%lu)\n",
+                                        id, elen, (unsigned long)left);
                        }
                        return ParseFailed;
                }
                        unknown++;
                        if (!show_errors)
                                break;
-                       DBG_88E("IEEE 802.11 element parse ignored unknown element (id=%d elen=%d)\n",
-                               id, elen);
+                       pr_debug("IEEE 802.11 element parse ignored unknown element (id=%d elen=%d)\n",
+                                id, elen);
                        break;
                }
                left -= elen;
 
        if (is_broadcast_ether_addr(mac) || is_zero_ether_addr(mac)) {
                eth_random_addr(mac_addr);
-               DBG_88E("MAC Address from efuse error, assign random one !!!\n");
+               pr_debug("MAC Address from efuse error, assign random one !!!\n");
        }
 
-       DBG_88E("rtw_macaddr_cfg MAC Address  = %pM\n", mac_addr);
+       pr_debug("MAC Address = %pM\n", mac_addr);
 }
 
 /**