]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: remove redundant check
authorJohannes Berg <johannes.berg@intel.com>
Fri, 18 Jan 2013 20:21:31 +0000 (21:21 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 24 Jan 2013 15:07:58 +0000 (16:07 +0100)
commitb247e49d3dc30d8b33bf554cdc54aea6d5927347
treeaf61e03bf4fb2a5963120d16c71926b8bfd84310
parent7a7c2a94946531cb586616ef8c491ae7e8a95958
mac80211: remove redundant check

There's no need to have two checks for "associated"
in ieee80211_sta_restart(), make the first one locked
to not race (unlikely at this point during resume)
and remove the second check.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c