staging: rtl8712: Fix IEEE80211_ADDBA_PARAM_BUF_SIZE_MASK
authorPascal Terjan <pterjan@google.com>
Sat, 23 May 2020 21:12:47 +0000 (22:12 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Jun 2020 07:22:22 +0000 (09:22 +0200)
commited9a878378533250b0290e32ff4361ce420690c1
tree2b0d433e3b6d35d0d39695f177d4f71c0c910d21
parent2b37e4f0ef5c8cd1d3de19d364dfcbefcc5114b2
staging: rtl8712: Fix IEEE80211_ADDBA_PARAM_BUF_SIZE_MASK

commit 15ea976a1f12b5fd76b1bd6ff3eb5132fd28047f upstream.

The value in shared headers was fixed 9 years ago in commit 8d661f1e462d
("ieee80211: correct IEEE80211_ADDBA_PARAM_BUF_SIZE_MASK macro") and
while looking at using shared headers for other duplicated constants
I noticed this driver uses the old value.

The macros are also defined twice in this file so I am deleting the
second definition.

Signed-off-by: Pascal Terjan <pterjan@google.com>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20200523211247.23262-1-pterjan@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/wifi.h