Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (89 commits) bonding: documentation and code cleanup for resend_igmp bonding: prevent deadlock on slave store with alb mode (v3) net: hold rtnl again in dump callbacks Add Fujitsu 1000base-SX PCI ID to tg3 bnx2x: protect sequence increment with mutex sch_sfq: fix peek() implementation isdn: netjet - blacklist Digium TDM400P via-velocity: don't annotate MAC registers as packed xen: netfront: hold RTNL when updating features. sctp: fix memory leak of the ASCONF queue when free asoc net: make dev_disable_lro use physical device if passed a vlan dev (v2) net: move is_vlan_dev into public header file (v2) bug.h: Fix build with CONFIG_PRINTK disabled. wireless: fix fatal kernel-doc error + warning in mac80211.h wireless: fix cfg80211.h new kernel-doc warnings iwlagn: dbg_fixed_rate only used when CONFIG_MAC80211_DEBUGFS enabled dst: catch uninitialized metrics be2net: hash key for rss-config cmd not set bridge: initialize fake_rtable metrics net: fix __dst_destroy_metrics_generic() ... Fix up trivial conflicts in drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c
This commit is contained in:
@@ -531,6 +531,7 @@ struct sta_bss_parameters {
|
||||
* @tx_retries: cumulative retry counts
|
||||
* @tx_failed: number of failed transmissions (retries exceeded, no ACK)
|
||||
* @rx_dropped_misc: Dropped for un-specified reason.
|
||||
* @bss_param: current BSS parameters
|
||||
* @generation: generation number for nl80211 dumps.
|
||||
* This number should increase every time the list of stations
|
||||
* changes, i.e. when a station is added or removed, so that
|
||||
@@ -1537,7 +1538,7 @@ struct cfg80211_ops {
|
||||
* @WIPHY_FLAG_IBSS_RSN: The device supports IBSS RSN.
|
||||
* @WIPHY_FLAG_MESH_AUTH: The device supports mesh authentication by routing
|
||||
* auth frames to userspace. See @NL80211_MESH_SETUP_USERSPACE_AUTH.
|
||||
* @WIPHY_FLAG_SCHED_SCAN: The device supports scheduled scans.
|
||||
* @WIPHY_FLAG_SUPPORTS_SCHED_SCAN: The device supports scheduled scans.
|
||||
*/
|
||||
enum wiphy_flags {
|
||||
WIPHY_FLAG_CUSTOM_REGULATORY = BIT(0),
|
||||
@@ -2878,6 +2879,7 @@ void cfg80211_connect_result(struct net_device *dev, const u8 *bssid,
|
||||
* cfg80211_roamed - notify cfg80211 of roaming
|
||||
*
|
||||
* @dev: network device
|
||||
* @channel: the channel of the new AP
|
||||
* @bssid: the BSSID of the new AP
|
||||
* @req_ie: association request IEs (maybe be %NULL)
|
||||
* @req_ie_len: association request IEs length
|
||||
@@ -2888,7 +2890,9 @@ void cfg80211_connect_result(struct net_device *dev, const u8 *bssid,
|
||||
* It should be called by the underlying driver whenever it roamed
|
||||
* from one AP to another while connected.
|
||||
*/
|
||||
void cfg80211_roamed(struct net_device *dev, const u8 *bssid,
|
||||
void cfg80211_roamed(struct net_device *dev,
|
||||
struct ieee80211_channel *channel,
|
||||
const u8 *bssid,
|
||||
const u8 *req_ie, size_t req_ie_len,
|
||||
const u8 *resp_ie, size_t resp_ie_len, gfp_t gfp);
|
||||
|
||||
|
||||
@@ -111,6 +111,8 @@ static inline u32 *dst_metrics_write_ptr(struct dst_entry *dst)
|
||||
{
|
||||
unsigned long p = dst->_metrics;
|
||||
|
||||
BUG_ON(!p);
|
||||
|
||||
if (p & DST_METRICS_READ_ONLY)
|
||||
return dst->ops->cow_metrics(dst, p);
|
||||
return __DST_METRICS_PTR(p);
|
||||
|
||||
Reference in New Issue
Block a user