madwifi: fix compile error on kernels without net_device api compatibility
[openwrt/openwrt.git] / package / madwifi / patches / 441-fix_ibss_node_handling.patch
index 1089f32f3e8cd66d4691143f6b7b5b582a8fad8d..a98fe42d2e50b60493263dcd20e3cd8a9f1b59a7 100644 (file)
@@ -1,6 +1,6 @@
 --- a/ath/if_ath.c
 +++ b/ath/if_ath.c
-@@ -6642,10 +6642,8 @@ static void
+@@ -6641,10 +6641,8 @@ static void
  ath_recv_mgmt(struct ieee80211vap * vap, struct ieee80211_node *ni_or_null,
        struct sk_buff *skb, int subtype, int rssi, u_int64_t rtsf)
  {
@@ -12,7 +12,7 @@
        struct ieee80211_node * ni = ni_or_null;
        u_int64_t hw_tsf, beacon_tsf;
        u_int32_t hw_tu, beacon_tu, intval;
-@@ -6687,7 +6685,7 @@ ath_recv_mgmt(struct ieee80211vap * vap,
+@@ -6686,7 +6684,7 @@ ath_recv_mgmt(struct ieee80211vap * vap,
                }
                if ((vap->iv_opmode == IEEE80211_M_IBSS) &&
                                (sc->sc_opmode == HAL_M_HOSTAP) &&