summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorClaudiu Manoil <claudiu.manoil@freescale.com>2013-09-30 12:44:41 +0300
committerJoe Hershberger <joe.hershberger@ni.com>2013-11-22 17:02:56 -0600
commitb200204e8e2a2eee081d576ed578d87b75813b46 (patch)
tree61d09fb401cd731838b5aa507c312b651ecc78a3 /include
parent876d4515e38dfcec4346968caf6a0c9c8176ea0b (diff)
downloadu-boot-imx-b200204e8e2a2eee081d576ed578d87b75813b46.zip
u-boot-imx-b200204e8e2a2eee081d576ed578d87b75813b46.tar.gz
u-boot-imx-b200204e8e2a2eee081d576ed578d87b75813b46.tar.bz2
net: tsec: Fix priv pointer in tsec_mcast_addr()
Access to privlist[1] (hardcoded referece to the 2nd tsec's priv area) is neither correct nor does it make sense in the current context. Each tsec dev has access to its own priv instance only, and hence to its own set of group address registers (GADDR) to filter multicast addresses. This fix leads to removal of the unused (faulty) privlist[] and related global static vars. Note that mcast() can be called only after eth_device allocation and init, and hence after priv area allocation, so dev->priv is correctly initialized upon mcast() call. Signed-off-by: Claudiu Manoil <claudiu.manoil@freescale.com> Patch: 278990
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions