]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
p54: fix sequence no. accounting off-by-one error
authorChristian Lamparter <chunkeey@googlemail.com>
Thu, 6 Jan 2011 22:47:52 +0000 (23:47 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 22:47:09 +0000 (14:47 -0800)
commite0134bbba1d1b0a802a3186f03715e9a4504dd38
tree1865fcda5cca95abd1ab798c7496f11e5dea3388
parentc66bfc3309f06337bd0e0607a936d347f0ab2b9f
p54: fix sequence no. accounting off-by-one error

commit 3b5c5827d1f80ad8ae844a8b1183f59ddb90fe25 upstream.

P54_HDR_FLAG_DATA_OUT_SEQNR is meant to tell the
firmware that "the frame's sequence number has
already been set by the application."

Whereas IEEE80211_TX_CTL_ASSIGN_SEQ is set for
frames which lack a valid sequence number and
either the driver or firmware has to assign one.

Yup, it's the exact opposite!

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/p54/txrx.c