summaryrefslogtreecommitdiffstats
path: root/net/netfilter/xt_cpu.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-08-13 09:23:57 +0200
committerJohannes Berg <johannes.berg@intel.com>2013-08-14 14:00:19 +0200
commitdee8a9732e713480075adbbca8eb220c5b8d1216 (patch)
tree8b7513da02dde717462ae6ff94009c10f587d9c3 /net/netfilter/xt_cpu.c
parentcb35fba360dfc3496e5d8a47e23ec5ccdfd90925 (diff)
downloadlinux-stable-dee8a9732e713480075adbbca8eb220c5b8d1216.tar.gz
linux-stable-dee8a9732e713480075adbbca8eb220c5b8d1216.tar.bz2
linux-stable-dee8a9732e713480075adbbca8eb220c5b8d1216.zip
cfg80211: don't request disconnect if not connected
Neil Brown reports that with libertas, my recent cfg80211 SME changes in commit ceca7b7121795ef81bd598a240d53a92566 ("cfg80211: separate internal SME implementation") broke libertas suspend because it we now asked it to disconnect while already disconnected. The problematic change is in cfg80211_disconnect() as it previously checked the SME state and now calls the driver disconnect operation unconditionally. Fix this by checking if there's a current_bss indicating a connection, and do nothing if not. Reported-and-tested-by: Neil Brown <neilb@suse.de> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/netfilter/xt_cpu.c')
0 files changed, 0 insertions, 0 deletions