From: Johannes Berg Date: Thu, 23 May 2013 16:10:21 +0000 (+0200) Subject: cfg80211: check wdev->netdev in connection work X-Git-Tag: v3.2.47~80 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71eac9d144bec44c29340b0d9905bcba3f4128e6;p=pandora-kernel.git cfg80211: check wdev->netdev in connection work commit c815797663b72e3ac1736f1886538152bc48e4af upstream. If a P2P-Device is present and another virtual interface triggers the connection work, the system crash because it tries to check if the P2P-Device's netdev (which doesn't exist) is up. Skip any wdevs that have no netdev to fix this. Reported-by: YanBo Signed-off-by: Johannes Berg [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed