diff options
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r-- | net/mac80211/mlme.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index bfd571e6f221..c7971196d9d5 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c | |||
@@ -2289,12 +2289,8 @@ int ieee80211_sta_set_bssid(struct ieee80211_sub_if_data *sdata, u8 *bssid) | |||
2289 | ifmgd->flags &= ~IEEE80211_STA_BSSID_SET; | 2289 | ifmgd->flags &= ~IEEE80211_STA_BSSID_SET; |
2290 | } | 2290 | } |
2291 | 2291 | ||
2292 | if (netif_running(sdata->dev)) { | 2292 | if (netif_running(sdata->dev)) |
2293 | if (ieee80211_if_config(sdata, IEEE80211_IFCC_BSSID)) { | 2293 | ieee80211_bss_info_change_notify(sdata, BSS_CHANGED_BSSID); |
2294 | printk(KERN_DEBUG "%s: Failed to config new BSSID to " | ||
2295 | "the low-level driver\n", sdata->dev->name); | ||
2296 | } | ||
2297 | } | ||
2298 | 2294 | ||
2299 | return ieee80211_sta_commit(sdata); | 2295 | return ieee80211_sta_commit(sdata); |
2300 | } | 2296 | } |