mirror of
https://github.com/torvalds/linux.git
synced 2026-10-14 11:54:03 +02:00
staging: rtl8192e: Remove unused function rtllib_get_beacon_()
Remove unused function rtllib_get_beacon_(). Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/ed825d5fb1946530c310afca1d3f27e46da35f06.1700860759.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
270f40cf35
commit
55003c4d6a
|
|
@ -2130,25 +2130,6 @@ static void rtllib_associate_retry_wq(void *data)
|
|||
mutex_unlock(&ieee->wx_mutex);
|
||||
}
|
||||
|
||||
static struct sk_buff *rtllib_get_beacon_(struct rtllib_device *ieee)
|
||||
{
|
||||
static const u8 broadcast_addr[] = {
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff
|
||||
};
|
||||
struct sk_buff *skb;
|
||||
struct rtllib_probe_response *b;
|
||||
|
||||
skb = rtllib_probe_resp(ieee, broadcast_addr);
|
||||
|
||||
if (!skb)
|
||||
return NULL;
|
||||
|
||||
b = (struct rtllib_probe_response *)skb->data;
|
||||
b->header.frame_control = cpu_to_le16(IEEE80211_STYPE_BEACON);
|
||||
|
||||
return skb;
|
||||
}
|
||||
|
||||
void rtllib_softmac_stop_protocol(struct rtllib_device *ieee)
|
||||
{
|
||||
rtllib_stop_scan_syncro(ieee);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user