Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts: drivers/net/tg3.c drivers/net/wireless/rt2x00/rt2x00dev.c net/mac80211/ieee80211_i.h
This commit is contained in:
@@ -674,7 +674,7 @@ static int ieee80211_add_station(struct wiphy *wiphy, struct net_device *dev,
|
||||
if (params->vlan) {
|
||||
sdata = IEEE80211_DEV_TO_SUB_IF(params->vlan);
|
||||
|
||||
if (sdata->vif.type != IEEE80211_IF_TYPE_VLAN ||
|
||||
if (sdata->vif.type != IEEE80211_IF_TYPE_VLAN &&
|
||||
sdata->vif.type != IEEE80211_IF_TYPE_AP)
|
||||
return -EINVAL;
|
||||
} else
|
||||
@@ -762,7 +762,7 @@ static int ieee80211_change_station(struct wiphy *wiphy,
|
||||
if (params->vlan && params->vlan != sta->sdata->dev) {
|
||||
vlansdata = IEEE80211_DEV_TO_SUB_IF(params->vlan);
|
||||
|
||||
if (vlansdata->vif.type != IEEE80211_IF_TYPE_VLAN ||
|
||||
if (vlansdata->vif.type != IEEE80211_IF_TYPE_VLAN &&
|
||||
vlansdata->vif.type != IEEE80211_IF_TYPE_AP) {
|
||||
rcu_read_unlock();
|
||||
return -EINVAL;
|
||||
|
Reference in New Issue
Block a user