madwifi: fix crash on ad-hoc interface init
[openwrt.git] / package / madwifi / patches / 348-ackcts.patch
index a505ef86da2add068e96f1ccb3b1eaf2296cefb8..ebd665a2a3a0729cea9baf8015c6a5dd3539ba98 100644 (file)
@@ -1,6 +1,6 @@
 --- a/ath/if_ath.c
 +++ b/ath/if_ath.c
-@@ -2721,6 +2721,9 @@
+@@ -2725,6 +2725,9 @@
  static int
  ath_set_ack_bitrate(struct ath_softc *sc, int high)
  {
@@ -10,7 +10,7 @@
        if (ar_device(sc->devid) == 5212 || ar_device(sc->devid) == 5213) {
                /* set ack to be sent at low bit-rate */
                /* registers taken from the OpenBSD 5212 HAL */
-@@ -10780,8 +10783,13 @@
+@@ -10795,8 +10798,13 @@
                                break;
  #endif
                        case ATH_ACKRATE: