madwifi: fix crash on ad-hoc interface init
[openwrt.git] / package / madwifi / patches / 366-bstuck_thresh.patch
index d04756e2f76657e584a6601c1582d9b163f4440f..9a940985d7a9c350fb6274f7604b4acbe205331c 100644 (file)
@@ -32,7 +32,7 @@
  MODULE_PARM_DESC(autocreate, "Create ath device in "
                "[sta|ap|wds|adhoc|ahdemo|monitor] mode. defaults to sta, use "
                "'none' to disable");
-@@ -5061,7 +5065,7 @@
+@@ -5064,7 +5068,7 @@
                DPRINTF(sc, ATH_DEBUG_BEACON_PROC,
                        "Missed %u consecutive beacons (n_beacon=%u)\n",
                        sc->sc_bmisscount, n_beacon);
@@ -41,7 +41,7 @@
                        ATH_SCHEDULE_TQUEUE(&sc->sc_bstucktq, needmark);
                return;
        }
-@@ -5217,7 +5221,7 @@
+@@ -5220,7 +5224,7 @@
         *     check will be true, in which case return
         *     without resetting the driver.
         */