]> 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)
commit61cf05ddc38b3be68903b4c4499a4179f53217d7
tree01007c217b68a66cf81968612076a66e96b88b47
parent126d2145b9e240030c39004deb87bc77e779b575
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