diff options
Diffstat (limited to 'net/ieee80211/ieee80211_rx.c')
-rw-r--r-- | net/ieee80211/ieee80211_rx.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/net/ieee80211/ieee80211_rx.c b/net/ieee80211/ieee80211_rx.c index c032b82eb56f..fcf4382ef7d7 100644 --- a/net/ieee80211/ieee80211_rx.c +++ b/net/ieee80211/ieee80211_rx.c | |||
@@ -1607,6 +1607,30 @@ void ieee80211_rx_mgt(struct ieee80211_device *ieee, | |||
1607 | header, stats); | 1607 | header, stats); |
1608 | break; | 1608 | break; |
1609 | 1609 | ||
1610 | case IEEE80211_STYPE_REASSOC_REQ: | ||
1611 | IEEE80211_DEBUG_MGMT("received reassoc (%d)\n", | ||
1612 | WLAN_FC_GET_STYPE(le16_to_cpu | ||
1613 | (header->frame_ctl))); | ||
1614 | |||
1615 | IEEE80211_WARNING("%s: IEEE80211_REASSOC_REQ received\n", | ||
1616 | ieee->dev->name); | ||
1617 | if (ieee->handle_reassoc_request != NULL) | ||
1618 | ieee->handle_reassoc_request(ieee->dev, | ||
1619 | (struct ieee80211_reassoc_request *) | ||
1620 | header); | ||
1621 | break; | ||
1622 | |||
1623 | case IEEE80211_STYPE_ASSOC_REQ: | ||
1624 | IEEE80211_DEBUG_MGMT("received assoc (%d)\n", | ||
1625 | WLAN_FC_GET_STYPE(le16_to_cpu | ||
1626 | (header->frame_ctl))); | ||
1627 | |||
1628 | IEEE80211_WARNING("%s: IEEE80211_ASSOC_REQ received\n", | ||
1629 | ieee->dev->name); | ||
1630 | if (ieee->handle_assoc_request != NULL) | ||
1631 | ieee->handle_assoc_request(ieee->dev); | ||
1632 | break; | ||
1633 | |||
1610 | case IEEE80211_STYPE_DEAUTH: | 1634 | case IEEE80211_STYPE_DEAUTH: |
1611 | IEEE80211_DEBUG_MGMT("DEAUTH\n"); | 1635 | IEEE80211_DEBUG_MGMT("DEAUTH\n"); |
1612 | if (ieee->handle_deauth != NULL) | 1636 | if (ieee->handle_deauth != NULL) |