Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless into for-davem
This commit is contained in:
@@ -757,6 +757,12 @@ int ieee80211_register_hw(struct ieee80211_hw *hw)
|
||||
if (!local->int_scan_req)
|
||||
return -ENOMEM;
|
||||
|
||||
for (band = 0; band < IEEE80211_NUM_BANDS; band++) {
|
||||
if (!local->hw.wiphy->bands[band])
|
||||
continue;
|
||||
local->int_scan_req->rates[band] = (u32) -1;
|
||||
}
|
||||
|
||||
/* if low-level driver supports AP, we also support VLAN */
|
||||
if (local->hw.wiphy->interface_modes & BIT(NL80211_IFTYPE_AP)) {
|
||||
hw->wiphy->interface_modes |= BIT(NL80211_IFTYPE_AP_VLAN);
|
||||
|
@@ -1039,7 +1039,6 @@ int ieee80211_reconfig(struct ieee80211_local *local)
|
||||
struct ieee80211_sub_if_data,
|
||||
u.ap);
|
||||
|
||||
memset(&sta->sta.drv_priv, 0, hw->sta_data_size);
|
||||
WARN_ON(drv_sta_add(local, sdata, &sta->sta));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user