]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: remove useless setting of IEEE80211_TX_INTFL_DONT_ENCRYPT
authorJohannes Berg <johannes@sipsolutions.net>
Sun, 17 Jan 2010 00:47:57 +0000 (01:47 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 19 Jan 2010 21:25:17 +0000 (16:25 -0500)
commitbe49189d7a07c7e1a7628d5ea59992b2181752ad
tree221b68a7d938c40e48782a208392554812b60d75
parentc6f44376bc2fb7ef40fd04ae64caaeb22cdb664b
mac80211: remove useless setting of IEEE80211_TX_INTFL_DONT_ENCRYPT

There's no value in setting a flag that will
never be checked after this point, this seems
to be legacy code -- I think previously the
flag was used to check whether to encrypt the
frame or not. Now, however, the flag need not
be set, and setting it actually interferes if
the frame will be processed again later.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/tx.c