mac80211: fix injection in monitor mode
authorPavel Roskin <proski@gnu.org>
Fri, 10 Jul 2009 20:42:29 +0000 (16:42 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 21 Jul 2009 16:07:38 +0000 (12:07 -0400)
commit8ef86c7bfac5b44529b73b84bc50d3cf574bfb4b
tree56e4b14e60fac4f53e81fc21abed0f2556604501
parentf54c142725ad2ba33c3ee627873cb6966bf05447
mac80211: fix injection in monitor mode

The location of the 802.11 header is calculated incorrectly due to a
wrong placement of parentheses.  Found by kmemcheck.

Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/tx.c