Skip to content

Commit

Permalink
net: phy: dp83640: fix checkpath error
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Florian Fainelli authored and David S. Miller committed Dec 18, 2013
1 parent a60e7e1 commit dd61d96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/phy/dp83640.c
Original file line number Diff line number Diff line change
Expand Up @@ -851,8 +851,8 @@ static int match(struct sk_buff *skb, unsigned int type, struct rxts *rxts)

seqid = (u16 *)(data + offset + OFF_PTP_SEQUENCE_ID);

return (rxts->msgtype == (*msgtype & 0xf) &&
rxts->seqid == ntohs(*seqid));
return rxts->msgtype == (*msgtype & 0xf) &&
rxts->seqid == ntohs(*seqid);
}

static void dp83640_free_clocks(void)
Expand Down

0 comments on commit dd61d96

Please sign in to comment.