cfg80211/mac80211: make ieee80211_send_layer2_update a public function
Make ieee80211_send_layer2_update() a common function so other drivers can re-use it. Signed-off-by: Dedy Lansky <dlansky@codeaurora.org> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:

committed by
Johannes Berg

parent
f404c3ecc4
commit
30ca1aa536
@@ -4732,6 +4732,17 @@ static inline const u8 *cfg80211_find_ext_ie(u8 ext_eid, const u8 *ies, int len)
|
||||
const u8 *cfg80211_find_vendor_ie(unsigned int oui, int oui_type,
|
||||
const u8 *ies, int len);
|
||||
|
||||
/**
|
||||
* cfg80211_send_layer2_update - send layer 2 update frame
|
||||
*
|
||||
* @dev: network device
|
||||
* @addr: STA MAC address
|
||||
*
|
||||
* Wireless drivers can use this function to update forwarding tables in bridge
|
||||
* devices upon STA association.
|
||||
*/
|
||||
void cfg80211_send_layer2_update(struct net_device *dev, const u8 *addr);
|
||||
|
||||
/**
|
||||
* DOC: Regulatory enforcement infrastructure
|
||||
*
|
||||
|
Reference in New Issue
Block a user