Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 126621
b: refs/heads/master
c: 9ba8aa7
h: refs/heads/master
i:
  126619: 9b8a071
v: v3
  • Loading branch information
Julia Lawall authored and Greg Kroah-Hartman committed Jan 6, 2009
1 parent c051617 commit 84d4a53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d11e5f22ac9330ebe8f6157395a1a55645064322
refs/heads/master: 9ba8aa7a94c5f3f5ac41ba39be5b1abf1688565e
4 changes: 2 additions & 2 deletions trunk/drivers/staging/wlan-ng/p80211wext.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ static const long p80211wext_channel_freq[] = {
2412, 2417, 2422, 2427, 2432, 2437, 2442,
2447, 2452, 2457, 2462, 2467, 2472, 2484
};
#define NUM_CHANNELS (sizeof(p80211wext_channel_freq) / sizeof(p80211wext_channel_freq[0]))
#define NUM_CHANNELS ARRAY_SIZE(p80211wext_channel_freq)

/* steal a spare bit to store the shared/opensystems state. should default to open if not set */
#define HOSTWEP_SHAREDKEY BIT3
Expand Down Expand Up @@ -1787,7 +1787,7 @@ static iw_handler p80211wext_handlers[] = {
};

struct iw_handler_def p80211wext_handler_def = {
.num_standard = sizeof(p80211wext_handlers) / sizeof(iw_handler),
.num_standard = ARRAY_SIZE(p80211wext_handlers),
.num_private = 0,
.num_private_args = 0,
.standard = p80211wext_handlers,
Expand Down

0 comments on commit 84d4a53

Please sign in to comment.