wireless: check for dangling wdev->current_bss pointer
authorBen Greear <greearb@candelatech.com>
Wed, 19 Jun 2013 21:06:26 +0000 (14:06 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 24 Jun 2013 13:55:36 +0000 (15:55 +0200)
If it *is* still set when the netdev is being deleted,
then we are about to leak a pointer.  Warn and clean up
in that case.

Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>

No differences found