mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/holtmann/bluetooth-next-2.6
Conflicts: drivers/net/wireless/iwlwifi/iwl-commands.h
This commit is contained in:
commit
800f65bba8
4739 changed files with 325366 additions and 139839 deletions
|
|
@ -1138,7 +1138,7 @@ static int nl80211_valid_4addr(struct cfg80211_registered_device *rdev,
|
|||
enum nl80211_iftype iftype)
|
||||
{
|
||||
if (!use_4addr) {
|
||||
if (netdev && netdev->br_port)
|
||||
if (netdev && (netdev->priv_flags & IFF_BRIDGE_PORT))
|
||||
return -EBUSY;
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -770,8 +770,8 @@ int cfg80211_change_iface(struct cfg80211_registered_device *rdev,
|
|||
return -EOPNOTSUPP;
|
||||
|
||||
/* if it's part of a bridge, reject changing type to station/ibss */
|
||||
if (dev->br_port && (ntype == NL80211_IFTYPE_ADHOC ||
|
||||
ntype == NL80211_IFTYPE_STATION))
|
||||
if ((dev->priv_flags & IFF_BRIDGE_PORT) &&
|
||||
(ntype == NL80211_IFTYPE_ADHOC || ntype == NL80211_IFTYPE_STATION))
|
||||
return -EBUSY;
|
||||
|
||||
if (ntype != otype) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue