diff options
| author | Arend van Spriel <[email protected]> | 2016-02-15 13:35:53 +0000 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2016-02-23 09:41:24 +0000 |
| commit | b86071528f3261ab592fad5b9b1a02aea3dcabf3 (patch) | |
| tree | 574a5f4de1d30e812a467e2ec0157ae183b0af1f /net/switchdev/switchdev.c | |
| parent | nl80211: Zero out the connection keys memory when freeing them. (diff) | |
| download | kernel-b86071528f3261ab592fad5b9b1a02aea3dcabf3.tar.gz kernel-b86071528f3261ab592fad5b9b1a02aea3dcabf3.zip | |
cfg80211: stop critical protocol session upon disconnect event
When user-space has started a critical protocol session and a disconnect
event occurs, the rdev::crit_prot_nlportid remains set. This caused a
subsequent NL80211_CMD_CRIT_PROTO_START to fail (-EBUSY). Fix this by
clearing the rdev attribute and call .crit_proto_stop() callback upon
disconnect event.
Reviewed-by: Hante Meuleman <[email protected]>
Reviewed-by: Pieter-Paul Giesberts <[email protected]>
Signed-off-by: Arend van Spriel <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
