aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/wlan-ng
diff options
context:
space:
mode:
authorMark Einon <mark.einon@gmail.com>2012-11-01 22:56:43 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-02 11:30:19 -0700
commitf0ada6784f680d844d890f5c240d19c8649594e5 (patch)
tree21280e59fd3085e2b7a48a37d31243b017ec4eef /drivers/staging/wlan-ng
parentstaging: et131x: Remove unused buffer[1,2] variables. (diff)
downloadlinux-dev-f0ada6784f680d844d890f5c240d19c8649594e5.tar.xz
linux-dev-f0ada6784f680d844d890f5c240d19c8649594e5.zip
staging: et131x: Align ring_index and fbr[] indicies
A ring_index value of 0 is being used to reference the free buffer ring fbr[1] and ring_index=1 is used to reference fbr[0]. Avoid this confusing referencing by swapping the indicies so that ring_index=0 refers to fbr[0] and vice versa. Signed-off-by: Mark Einon <mark.einon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wlan-ng')
0 files changed, 0 insertions, 0 deletions