From: Seth Forshee Date: Thu, 15 Nov 2012 14:07:57 +0000 (-0600) Subject: brcmsmac: Use correct descriptor count when calculating next rx descriptor X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~174^2^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b05618deb4ac7c22d876acc19debb7ac63786f37;p=pandora-kernel.git brcmsmac: Use correct descriptor count when calculating next rx descriptor nextrxd() is calling txd(), which means that the tx descriptor count is used to determine when to wrap for determining the next ring buffer entry. This has worked so far since the driver has been using the same number of rx and tx descriptors, but it's obviously going to be a problem if different numbers of descriptors are used. Acked-by: Arend van Spriel Signed-off-by: Seth Forshee Tested-by: Daniel Wagner Signed-off-by: John W. Linville --- Reading git-diff-tree failed