diff options
Diffstat (limited to 'net/ieee80211/softmac/ieee80211softmac_assoc.c')
-rw-r--r-- | net/ieee80211/softmac/ieee80211softmac_assoc.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/net/ieee80211/softmac/ieee80211softmac_assoc.c b/net/ieee80211/softmac/ieee80211softmac_assoc.c index 755b612ce197..c6124fcf27b7 100644 --- a/net/ieee80211/softmac/ieee80211softmac_assoc.c +++ b/net/ieee80211/softmac/ieee80211softmac_assoc.c | |||
@@ -390,3 +390,21 @@ ieee80211softmac_handle_disassoc(struct net_device * dev, | |||
390 | 390 | ||
391 | return 0; | 391 | return 0; |
392 | } | 392 | } |
393 | |||
394 | int | ||
395 | ieee80211softmac_handle_reassoc_req(struct net_device * dev, | ||
396 | struct ieee80211_reassoc_request * resp) | ||
397 | { | ||
398 | struct ieee80211softmac_device *mac = ieee80211_priv(dev); | ||
399 | struct ieee80211softmac_network *network; | ||
400 | |||
401 | function_enter(); | ||
402 | |||
403 | network = ieee80211softmac_get_network_by_bssid(mac, resp->header.addr3); | ||
404 | if (!network) { | ||
405 | dprintkl(KERN_INFO PFX "reassoc request from unknown network\n"); | ||
406 | return 0; | ||
407 | } | ||
408 | ieee80211softmac_assoc(mac, network); | ||
409 | return 0; | ||
410 | } | ||