]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: remove always true condition
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 27 Jul 2015 08:11:11 +0000 (11:11 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 13 Aug 2015 09:36:01 +0000 (11:36 +0200)
commitffdd9632f47381edc1a93de819230df5d2f98024
tree01007c217b68a66cf81968612076a66e96b88b47
parent2990aff1814e8fd456a3c7dd9698cc1efdd692ce
mac80211: remove always true condition

The outside if statement checks that IEEE80211_TX_INTFL_MLME_CONN_TX is
set so this condition is always true.  Checking twice upsets the static
checkers.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/status.c