History

ieee80211: fix for_each_element_extid()

The data/datalen argument names cannot be used as those are also the struct element names, fix that.

Johannes Berg committed 7 years ago

Commit 61edb111 parent db33aa71 file · +2 −2Browse files

Showing the changes to include/linux (1 of 1 file). Show all

Unified · Split

include/linux/ieee80211.h+2−2
@@ -3299,8 +3299,8 @@ struct element { · 3298 unmodified lines
32993299 for_each_element(element, data, datalen) \
33003300 if (element->id == (_id))
33013301
3302−#define for_each_element_extid(element, extid, data, datalen) \
3303− for_each_element(element, data, datalen) \
3302+#define for_each_element_extid(element, extid, _data, _datalen) \
3303+ for_each_element(element, _data, _datalen) \
33043304 if (element->id == WLAN_EID_EXTENSION && \
33053305 element->datalen > 0 && \
33063306 element->data[0] == (extid))

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t