From: Johannes Berg Date: Fri, 16 Jan 2015 20:05:02 +0000 (+0100) Subject: cfg80211: fix checking nl80211_send_station() return value X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~163^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57007121228347515187049a9c65f7cbeb923dd1;p=pandora-kernel.git cfg80211: fix checking nl80211_send_station() return value The return value from nl80211_send_station() is the length of the skb, or a negative error, so abort sending the message only when the return value was negative. This fixes the ibss_rsn wpa_supplicant test case. Reported-by: Jouni Malinen Signed-off-by: Johannes Berg --- Reading git-diff-tree failed