b43: fix backport of 860-b43_restart_config.patch
authorFelix Fietkau <nbd@openwrt.org>
Tue, 9 Aug 2011 13:58:06 +0000 (13:58 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 9 Aug 2011 13:58:06 +0000 (13:58 +0000)
SVN-Revision: 27944

package/mac80211/patches/860-b43_restart_config.patch

index 60ec8b6fb6ea57f63dff8edce60ac48a6c1518ea..2a57977319a67c050d3737bc8acf0de375aca286 100644 (file)
                b43_set_beacon_int(dev, conf->beacon_int);
  
        if (changed & BSS_CHANGED_BASIC_RATES)
-@@ -4566,6 +4584,12 @@ static int b43_op_start(struct ieee80211
+@@ -4496,6 +4514,9 @@ static int b43_op_add_interface(struct i
   out_mutex_unlock:
        mutex_unlock(&wl->mutex);
  
 +      if (err == 0)
 +              b43_op_bss_info_changed(hw, vif, &vif->bss_conf, ~0);
 +
+       return err;
+ }
+@@ -4566,6 +4587,9 @@ static int b43_op_start(struct ieee80211
+  out_mutex_unlock:
+       mutex_unlock(&wl->mutex);
 +      /* reload configuration */
 +      b43_op_config(hw, ~0);
 +