X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=net%2Fmac80211%2Fmlme.c;h=c9ceb4d57ab0e62ab3c250ad1e0d959ce1de06ef;hb=638691a7a46a4ae9a7b56c603299e42d7f6e722e;hp=45fbb9e33746e5817252a554a7fdff6ec8265eee;hpb=0caca697a2d173c6beff3c24e7d9481b732bd131;p=mv-sheeva.git diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 45fbb9e3374..c9ceb4d57ab 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -1033,6 +1033,12 @@ void ieee80211_sta_rx_notify(struct ieee80211_sub_if_data *sdata, if (is_multicast_ether_addr(hdr->addr1)) return; + /* + * In case we receive frames after disassociation. + */ + if (!sdata->u.mgd.associated) + return; + ieee80211_sta_reset_conn_monitor(sdata); }