diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/wmi.c')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/wmi.c | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/wmi.c b/drivers/net/wireless/ath/ath6kl/wmi.c index ff13e0bc646b..3ade9a17c0eb 100644 --- a/drivers/net/wireless/ath/ath6kl/wmi.c +++ b/drivers/net/wireless/ath/ath6kl/wmi.c | |||
@@ -2457,43 +2457,6 @@ s32 ath6kl_wmi_get_rate(s8 rate_index) | |||
2457 | return wmi_rate_tbl[(u32) rate_index][0]; | 2457 | return wmi_rate_tbl[(u32) rate_index][0]; |
2458 | } | 2458 | } |
2459 | 2459 | ||
2460 | void ath6kl_wmi_node_return(struct wmi *wmi, struct bss *bss) | ||
2461 | { | ||
2462 | if (bss) | ||
2463 | wlan_node_return(&wmi->parent_dev->scan_table, bss); | ||
2464 | } | ||
2465 | |||
2466 | struct bss *ath6kl_wmi_find_ssid_node(struct wmi *wmi, u8 * ssid, | ||
2467 | u32 ssid_len, bool is_wpa2, | ||
2468 | bool match_ssid) | ||
2469 | { | ||
2470 | struct bss *node = NULL; | ||
2471 | |||
2472 | node = wlan_find_ssid_node(&wmi->parent_dev->scan_table, ssid, | ||
2473 | ssid_len, is_wpa2, match_ssid); | ||
2474 | return node; | ||
2475 | } | ||
2476 | |||
2477 | struct bss *ath6kl_wmi_find_node(struct wmi *wmi, const u8 * mac_addr) | ||
2478 | { | ||
2479 | struct bss *ni = NULL; | ||
2480 | |||
2481 | ni = wlan_find_node(&wmi->parent_dev->scan_table, mac_addr); | ||
2482 | |||
2483 | return ni; | ||
2484 | } | ||
2485 | |||
2486 | void ath6kl_wmi_node_free(struct wmi *wmi, const u8 * mac_addr) | ||
2487 | { | ||
2488 | struct bss *ni = NULL; | ||
2489 | |||
2490 | ni = wlan_find_node(&wmi->parent_dev->scan_table, mac_addr); | ||
2491 | if (ni != NULL) | ||
2492 | wlan_node_reclaim(&wmi->parent_dev->scan_table, ni); | ||
2493 | |||
2494 | return; | ||
2495 | } | ||
2496 | |||
2497 | static int ath6kl_wmi_get_pmkid_list_event_rx(struct wmi *wmi, u8 *datap, | 2460 | static int ath6kl_wmi_get_pmkid_list_event_rx(struct wmi *wmi, u8 *datap, |
2498 | u32 len) | 2461 | u32 len) |
2499 | { | 2462 | { |