diff options
author | David S. Miller <davem@davemloft.net> | 2014-05-24 14:06:19 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-24 14:06:19 -0400 |
commit | 8646224cdb945eca4293e2131e5be47930ce3e80 (patch) | |
tree | 379b952f25af2b282b64554679924efe5f2212cf | |
parent | 7df566bbdd0af0785542b89466a937e94257fcfb (diff) | |
parent | 5ca2504ea36df1da815029a9e9277c08540042eb (diff) |
Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless
John W. Linville says:
====================
pull request: wireless 2014-05-23
I have two more fixes intended for the 3.15 stream...
For the iwlwifi one, Emmanuel says:
"A race has been discovered in the beacon filtering code. Since the
fix is too big for 3.15, I disable here the feature."
For the bluetooth one, Gustavo says:
"This pull request contains a very important fix for 3.15. Here we fix the
permissions of a debugfs file that would otherwise allow unauthorized users
to write content to it."
Please let me know if there are problems!
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/mac80211.c | 2 | ||||
-rw-r--r-- | net/bluetooth/l2cap_core.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/mac80211.c b/drivers/net/wireless/iwlwifi/mvm/mac80211.c index b41dc84e9431..8735ef1f44ae 100644 --- a/drivers/net/wireless/iwlwifi/mvm/mac80211.c +++ b/drivers/net/wireless/iwlwifi/mvm/mac80211.c | |||
@@ -826,7 +826,7 @@ static int iwl_mvm_mac_add_interface(struct ieee80211_hw *hw, | |||
826 | if (ret) | 826 | if (ret) |
827 | goto out_remove_mac; | 827 | goto out_remove_mac; |
828 | 828 | ||
829 | if (!mvm->bf_allowed_vif && | 829 | if (!mvm->bf_allowed_vif && false && |
830 | vif->type == NL80211_IFTYPE_STATION && !vif->p2p && | 830 | vif->type == NL80211_IFTYPE_STATION && !vif->p2p && |
831 | mvm->fw->ucode_capa.flags & IWL_UCODE_TLV_FLAGS_BF_UPDATED){ | 831 | mvm->fw->ucode_capa.flags & IWL_UCODE_TLV_FLAGS_BF_UPDATED){ |
832 | mvm->bf_allowed_vif = mvmvif; | 832 | mvm->bf_allowed_vif = mvmvif; |
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c index a1e5bb7d06e8..dc4d301d3a72 100644 --- a/net/bluetooth/l2cap_core.c +++ b/net/bluetooth/l2cap_core.c | |||
@@ -7519,9 +7519,9 @@ int __init l2cap_init(void) | |||
7519 | l2cap_debugfs = debugfs_create_file("l2cap", 0444, bt_debugfs, | 7519 | l2cap_debugfs = debugfs_create_file("l2cap", 0444, bt_debugfs, |
7520 | NULL, &l2cap_debugfs_fops); | 7520 | NULL, &l2cap_debugfs_fops); |
7521 | 7521 | ||
7522 | debugfs_create_u16("l2cap_le_max_credits", 0466, bt_debugfs, | 7522 | debugfs_create_u16("l2cap_le_max_credits", 0644, bt_debugfs, |
7523 | &le_max_credits); | 7523 | &le_max_credits); |
7524 | debugfs_create_u16("l2cap_le_default_mps", 0466, bt_debugfs, | 7524 | debugfs_create_u16("l2cap_le_default_mps", 0644, bt_debugfs, |
7525 | &le_default_mps); | 7525 | &le_default_mps); |
7526 | 7526 | ||
7527 | bt_6lowpan_init(); | 7527 | bt_6lowpan_init(); |