mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 21:44:04 +02:00
madwifi: fix compile warning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12450 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
dbc6ac7a89
commit
3d828799cf
@ -506,7 +506,7 @@
|
|||||||
((wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) == IEEE80211_FC0_SUBTYPE_PS_POLL)
|
((wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) == IEEE80211_FC0_SUBTYPE_PS_POLL)
|
||||||
struct ieee80211_node_table *nt;
|
struct ieee80211_node_table *nt;
|
||||||
struct ieee80211_node *ni;
|
struct ieee80211_node *ni;
|
||||||
+ u_int8_t *addr;
|
+ const u_int8_t *addr;
|
||||||
+
|
+
|
||||||
+ if (IS_CTL(wh) && !IS_PSPOLL(wh) /*&& !IS_RTS(ah)*/)
|
+ if (IS_CTL(wh) && !IS_PSPOLL(wh) /*&& !IS_RTS(ah)*/)
|
||||||
+ addr = wh->i_addr1;
|
+ addr = wh->i_addr1;
|
||||||
|
Loading…
Reference in New Issue
Block a user