Commit 7736b5bd authored by Zhu Yi's avatar Zhu Yi Committed by John W. Linville

[PATCH] ieee80211: replace debug IEEE80211_WARNING with each own debug macro

Signed-off-by: default avatarZhu Yi <yi.zhu@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 35c14b85
...@@ -1690,8 +1690,8 @@ void ieee80211_rx_mgt(struct ieee80211_device *ieee, ...@@ -1690,8 +1690,8 @@ void ieee80211_rx_mgt(struct ieee80211_device *ieee,
WLAN_FC_GET_STYPE(le16_to_cpu WLAN_FC_GET_STYPE(le16_to_cpu
(header->frame_ctl))); (header->frame_ctl)));
IEEE80211_WARNING("%s: IEEE80211_REASSOC_REQ received\n", IEEE80211_DEBUG_MGMT("%s: IEEE80211_REASSOC_REQ received\n",
ieee->dev->name); ieee->dev->name);
if (ieee->handle_reassoc_request != NULL) if (ieee->handle_reassoc_request != NULL)
ieee->handle_reassoc_request(ieee->dev, ieee->handle_reassoc_request(ieee->dev,
(struct ieee80211_reassoc_request *) (struct ieee80211_reassoc_request *)
...@@ -1703,8 +1703,8 @@ void ieee80211_rx_mgt(struct ieee80211_device *ieee, ...@@ -1703,8 +1703,8 @@ void ieee80211_rx_mgt(struct ieee80211_device *ieee,
WLAN_FC_GET_STYPE(le16_to_cpu WLAN_FC_GET_STYPE(le16_to_cpu
(header->frame_ctl))); (header->frame_ctl)));
IEEE80211_WARNING("%s: IEEE80211_ASSOC_REQ received\n", IEEE80211_DEBUG_MGMT("%s: IEEE80211_ASSOC_REQ received\n",
ieee->dev->name); ieee->dev->name);
if (ieee->handle_assoc_request != NULL) if (ieee->handle_assoc_request != NULL)
ieee->handle_assoc_request(ieee->dev); ieee->handle_assoc_request(ieee->dev);
break; break;
...@@ -1720,10 +1720,10 @@ void ieee80211_rx_mgt(struct ieee80211_device *ieee, ...@@ -1720,10 +1720,10 @@ void ieee80211_rx_mgt(struct ieee80211_device *ieee,
IEEE80211_DEBUG_MGMT("received UNKNOWN (%d)\n", IEEE80211_DEBUG_MGMT("received UNKNOWN (%d)\n",
WLAN_FC_GET_STYPE(le16_to_cpu WLAN_FC_GET_STYPE(le16_to_cpu
(header->frame_ctl))); (header->frame_ctl)));
IEEE80211_WARNING("%s: Unknown management packet: %d\n", IEEE80211_DEBUG_MGMT("%s: Unknown management packet: %d\n",
ieee->dev->name, ieee->dev->name,
WLAN_FC_GET_STYPE(le16_to_cpu WLAN_FC_GET_STYPE(le16_to_cpu
(header->frame_ctl))); (header->frame_ctl)));
break; break;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment