]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: fix potential connection work crash
authorJohannes Berg <johannes.berg@intel.com>
Wed, 20 Mar 2013 13:05:52 +0000 (14:05 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 20 Mar 2013 13:07:26 +0000 (14:07 +0100)
commit032741a3374b9e5580b9219e43df50a4a6f0c629
tree8c80902548d536701a9aed24a75d9745fd1d9e16
parent0aa3593bc906705781957e6cf1af7c46c527df02
cfg80211: fix potential connection work crash

If wpa_supplicant and iw/iwconfig are used together, very
rarely the system crashes. It seems to be related to the
connection parameters not being set up, but it's not all
clear to me how this happens. In any case, checking that
the conn pointer exists here is probably a good idea.

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