Merge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh...
[pandora-kernel.git] / drivers / staging / bcm / HandleControlPacket.c
index 2d4dbcc..2b1e9e1 100644 (file)
@@ -11,8 +11,7 @@ When a control packet is received, analyze the
 Enqueue the control packet for Application.
 @return None
 */
-VOID handle_rx_control_packet(PMINI_ADAPTER Adapter,   /**<Pointer to the Adapter structure*/
-                                                               struct sk_buff *skb)                            /**<Pointer to the socket buffer*/
+static VOID handle_rx_control_packet(PMINI_ADAPTER Adapter, struct sk_buff *skb)
 {
        PPER_TARANG_DATA        pTarang = NULL;
        BOOLEAN HighPriorityMessage = FALSE;
@@ -20,8 +19,10 @@ VOID handle_rx_control_packet(PMINI_ADAPTER Adapter,         /**<Pointer to the Adapter
        CHAR cntrl_msg_mask_bit = 0;
        BOOLEAN drop_pkt_flag = TRUE ;
        USHORT usStatus = *(PUSHORT)(skb->data);
-       BCM_DEBUG_PRINT( Adapter,DBG_TYPE_OTHERS, CP_CTRL_PKT, DBG_LVL_ALL, "=====>");
-       /* Get the Leader field */
+
+       if (netif_msg_pktdata(Adapter))
+               print_hex_dump(KERN_DEBUG, PFX "rx control: ", DUMP_PREFIX_NONE,
+                              16, 1, skb->data, skb->len, 0);
 
        switch(usStatus)
        {