diff options
author | Johannes Berg <johannes.berg@intel.com> | 2015-01-16 21:05:02 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-01-16 21:05:52 +0100 |
commit | 57007121228347515187049a9c65f7cbeb923dd1 (patch) | |
tree | 6182ff537e61976ac4669c09b8bba37a8cfdd248 /net/ipv6/fib6_rules.c | |
parent | mac80211: remove doubled semicolon (diff) | |
download | linux-57007121228347515187049a9c65f7cbeb923dd1.tar.xz linux-57007121228347515187049a9c65f7cbeb923dd1.zip |
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 <j@w1.fi>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/ipv6/fib6_rules.c')
0 files changed, 0 insertions, 0 deletions