[PATCH 05/11] wcn36xx: Remove obsolete comment

Eugene Krasnikov k.eugene.e at gmail.com
Thu Aug 22 04:45:58 EDT 2013


mac80211 will send multicast with sta_priv set to NULL.

Signed-off-by: Eugene Krasnikov <k.eugene.e at gmail.com>
---
 txrx.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/txrx.c b/txrx.c
index ecfdacb..81aadad 100644
--- a/txrx.c
+++ b/txrx.c
@@ -234,12 +234,6 @@ int wcn36xx_start_tx(struct wcn36xx *wcn,
 
 	/* Data frames served first*/
 	if (is_low) {
-		/*
-		 * Sometimes in AP mode mac80211 is trying to send data
-		 * frame to nobody. Why?
-		 */
-		if (!sta_priv)
-			wcn36xx_warn("Sending data packet to nobody\n");
 		wcn36xx_set_tx_data(bd, wcn, sta_priv, hdr, bcast);
 		wcn36xx_set_tx_pdu(bd,
 			   ieee80211_is_data_qos(hdr->frame_control) ?
-- 
1.8.2.2




More information about the wcn36xx mailing list