madwifi: fix compile warning
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 1 Sep 2008 11:03:46 +0000 (11:03 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 1 Sep 2008 11:03:46 +0000 (11:03 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12450 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/madwifi/patches/370-wdsvap.patch

index ee0a2de..05e1ca7 100644 (file)
        ((wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) == IEEE80211_FC0_SUBTYPE_PS_POLL)
        struct ieee80211_node_table *nt;
        struct ieee80211_node *ni;
        ((wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) == IEEE80211_FC0_SUBTYPE_PS_POLL)
        struct ieee80211_node_table *nt;
        struct ieee80211_node *ni;
-+      u_int8_t *addr;
++      const u_int8_t *addr;
 +
 +      if (IS_CTL(wh) && !IS_PSPOLL(wh) /*&& !IS_RTS(ah)*/)
 +              addr = wh->i_addr1;
 +
 +      if (IS_CTL(wh) && !IS_PSPOLL(wh) /*&& !IS_RTS(ah)*/)
 +              addr = wh->i_addr1;
This page took 0.024608 seconds and 4 git commands to generate.