diff options
Diffstat (limited to 'net/wireless/nl80211.c')
-rw-r--r-- | net/wireless/nl80211.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index ca7697701076..253e56319d7e 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c | |||
@@ -2236,7 +2236,7 @@ static int nl80211_send_station(struct sk_buff *msg, u32 pid, u32 seq, | |||
2236 | } | 2236 | } |
2237 | nla_nest_end(msg, sinfoattr); | 2237 | nla_nest_end(msg, sinfoattr); |
2238 | 2238 | ||
2239 | if (sinfo->assoc_req_ies) | 2239 | if (sinfo->filled & STATION_INFO_ASSOC_REQ_IES) |
2240 | NLA_PUT(msg, NL80211_ATTR_IE, sinfo->assoc_req_ies_len, | 2240 | NLA_PUT(msg, NL80211_ATTR_IE, sinfo->assoc_req_ies_len, |
2241 | sinfo->assoc_req_ies); | 2241 | sinfo->assoc_req_ies); |
2242 | 2242 | ||