b43: fix backport of 860-b43_restart_config.patch
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 9 Aug 2011 13:58:06 +0000 (13:58 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 9 Aug 2011 13:58:06 +0000 (13:58 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@27944 3c298f89-4303-0410-b956-a3cf2f4a3e73

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);
 +