diff options
Diffstat (limited to 'net/wireless/nl80211.c')
-rw-r--r-- | net/wireless/nl80211.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index c04df6a6af78..195424eee77d 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c | |||
@@ -3415,17 +3415,16 @@ void nl80211_send_rx_assoc(struct cfg80211_registered_device *rdev, | |||
3415 | nl80211_send_mlme_event(rdev, netdev, buf, len, NL80211_CMD_ASSOCIATE); | 3415 | nl80211_send_mlme_event(rdev, netdev, buf, len, NL80211_CMD_ASSOCIATE); |
3416 | } | 3416 | } |
3417 | 3417 | ||
3418 | void nl80211_send_rx_deauth(struct cfg80211_registered_device *rdev, | 3418 | void nl80211_send_deauth(struct cfg80211_registered_device *rdev, |
3419 | struct net_device *netdev, const u8 *buf, | 3419 | struct net_device *netdev, const u8 *buf, size_t len) |
3420 | size_t len) | ||
3421 | { | 3420 | { |
3422 | nl80211_send_mlme_event(rdev, netdev, buf, len, | 3421 | nl80211_send_mlme_event(rdev, netdev, buf, len, |
3423 | NL80211_CMD_DEAUTHENTICATE); | 3422 | NL80211_CMD_DEAUTHENTICATE); |
3424 | } | 3423 | } |
3425 | 3424 | ||
3426 | void nl80211_send_rx_disassoc(struct cfg80211_registered_device *rdev, | 3425 | void nl80211_send_disassoc(struct cfg80211_registered_device *rdev, |
3427 | struct net_device *netdev, const u8 *buf, | 3426 | struct net_device *netdev, const u8 *buf, |
3428 | size_t len) | 3427 | size_t len) |
3429 | { | 3428 | { |
3430 | nl80211_send_mlme_event(rdev, netdev, buf, len, | 3429 | nl80211_send_mlme_event(rdev, netdev, buf, len, |
3431 | NL80211_CMD_DISASSOCIATE); | 3430 | NL80211_CMD_DISASSOCIATE); |