diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2018-08-16 16:13:03 -0400 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-08-16 16:21:29 -0400 |
commit | 0a3173a5f09bc58a3638ecfd0a80bdbae55e123c (patch) | |
tree | d6c0bc84863cca54dfbde3b7463e5d49c82af9f1 /net/mac80211/cfg.c | |
parent | 92f4e77c85918eab5e5803d7e28ab89a7e6bd3a2 (diff) | |
parent | 5c60a7389d795e001c8748b458eb76e3a5b6008c (diff) |
Merge branch 'linus/master' into rdma.git for-next
rdma.git merge resolution for the 4.19 merge window
Conflicts:
drivers/infiniband/core/rdma_core.c
- Use the rdma code and revise with the new spelling for
atomic_fetch_add_unless
drivers/nvme/host/rdma.c
- Replace max_sge with max_send_sge in new blk code
drivers/nvme/target/rdma.c
- Use the blk code and revise to use NULL for ib_post_recv when
appropriate
- Replace max_sge with max_recv_sge in new blk code
net/rds/ib_send.c
- Use the net code and revise to use NULL for ib_post_recv when
appropriate
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r-- | net/mac80211/cfg.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index bdf6fa78d0d2..d25da0e66da1 100644 --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c | |||
@@ -495,7 +495,7 @@ static int ieee80211_del_key(struct wiphy *wiphy, struct net_device *dev, | |||
495 | goto out_unlock; | 495 | goto out_unlock; |
496 | } | 496 | } |
497 | 497 | ||
498 | ieee80211_key_free(key, true); | 498 | ieee80211_key_free(key, sdata->vif.type == NL80211_IFTYPE_STATION); |
499 | 499 | ||
500 | ret = 0; | 500 | ret = 0; |
501 | out_unlock: | 501 | out_unlock: |
@@ -1412,6 +1412,11 @@ static int sta_apply_parameters(struct ieee80211_local *local, | |||
1412 | ieee80211_vht_cap_ie_to_sta_vht_cap(sdata, sband, | 1412 | ieee80211_vht_cap_ie_to_sta_vht_cap(sdata, sband, |
1413 | params->vht_capa, sta); | 1413 | params->vht_capa, sta); |
1414 | 1414 | ||
1415 | if (params->he_capa) | ||
1416 | ieee80211_he_cap_ie_to_sta_he_cap(sdata, sband, | ||
1417 | (void *)params->he_capa, | ||
1418 | params->he_capa_len, sta); | ||
1419 | |||
1415 | if (params->opmode_notif_used) { | 1420 | if (params->opmode_notif_used) { |
1416 | /* returned value is only needed for rc update, but the | 1421 | /* returned value is only needed for rc update, but the |
1417 | * rc isn't initialized here yet, so ignore it | 1422 | * rc isn't initialized here yet, so ignore it |
@@ -3486,7 +3491,7 @@ static int ieee80211_probe_client(struct wiphy *wiphy, struct net_device *dev, | |||
3486 | } | 3491 | } |
3487 | 3492 | ||
3488 | local_bh_disable(); | 3493 | local_bh_disable(); |
3489 | ieee80211_xmit(sdata, sta, skb); | 3494 | ieee80211_xmit(sdata, sta, skb, 0); |
3490 | local_bh_enable(); | 3495 | local_bh_enable(); |
3491 | 3496 | ||
3492 | ret = 0; | 3497 | ret = 0; |