]> 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)
commit7a622c631fa66408952ad48e284ef08c8efe0f1d
treeaf61e03bf4fb2a5963120d16c71926b8bfd84310
parentd673b6ed11ce298312f14405d2167f06a82fb1f6
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