mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 01:31:44 +00:00
Staging: agnx: Fixup agnx.h checkpatch warnings
Signed-off-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
262d387063
commit
f9a6b62bcf
@ -41,16 +41,16 @@ static const struct ieee80211_rate agnx_rates_80211g[] = {
|
|||||||
/* { .bitrate = 20, .hw_value = 2, .flags = IEEE80211_RATE_SHORT_PREAMBLE }, */
|
/* { .bitrate = 20, .hw_value = 2, .flags = IEEE80211_RATE_SHORT_PREAMBLE }, */
|
||||||
/* { .bitrate = 55, .hw_value = 3, .flags = IEEE80211_RATE_SHORT_PREAMBLE }, */
|
/* { .bitrate = 55, .hw_value = 3, .flags = IEEE80211_RATE_SHORT_PREAMBLE }, */
|
||||||
/* { .bitrate = 110, .hw_value = 4, .flags = IEEE80211_RATE_SHORT_PREAMBLE }, */
|
/* { .bitrate = 110, .hw_value = 4, .flags = IEEE80211_RATE_SHORT_PREAMBLE }, */
|
||||||
{ .bitrate = 10, .hw_value = 1, },
|
{ .bitrate = 10, .hw_value = 1, },
|
||||||
{ .bitrate = 20, .hw_value = 2, },
|
{ .bitrate = 20, .hw_value = 2, },
|
||||||
{ .bitrate = 55, .hw_value = 3, },
|
{ .bitrate = 55, .hw_value = 3, },
|
||||||
{ .bitrate = 110, .hw_value = 4,},
|
{ .bitrate = 110, .hw_value = 4,},
|
||||||
|
|
||||||
{ .bitrate = 60, .hw_value = 0xB, },
|
{ .bitrate = 60, .hw_value = 0xB, },
|
||||||
{ .bitrate = 90, .hw_value = 0xF, },
|
{ .bitrate = 90, .hw_value = 0xF, },
|
||||||
{ .bitrate = 120, .hw_value = 0xA },
|
{ .bitrate = 120, .hw_value = 0xA },
|
||||||
{ .bitrate = 180, .hw_value = 0xE, },
|
{ .bitrate = 180, .hw_value = 0xE, },
|
||||||
// { .bitrate = 240, .hw_value = 0xd, },
|
/* { .bitrate = 240, .hw_value = 0xd, }, */
|
||||||
{ .bitrate = 360, .hw_value = 0xD, },
|
{ .bitrate = 360, .hw_value = 0xD, },
|
||||||
{ .bitrate = 480, .hw_value = 0x8, },
|
{ .bitrate = 480, .hw_value = 0x8, },
|
||||||
{ .bitrate = 540, .hw_value = 0xC, },
|
{ .bitrate = 540, .hw_value = 0xC, },
|
||||||
@ -110,10 +110,10 @@ struct agnx_priv {
|
|||||||
/* Need volatile? */
|
/* Need volatile? */
|
||||||
u32 irq_status;
|
u32 irq_status;
|
||||||
|
|
||||||
struct delayed_work periodic_work; /* Periodic tasks like recalibrate*/
|
struct delayed_work periodic_work; /* Periodic tasks like recalibrate */
|
||||||
struct ieee80211_low_level_stats stats;
|
struct ieee80211_low_level_stats stats;
|
||||||
|
|
||||||
// unsigned int phymode;
|
/* unsigned int phymode; */
|
||||||
int mode;
|
int mode;
|
||||||
int channel;
|
int channel;
|
||||||
u8 bssid[ETH_ALEN];
|
u8 bssid[ETH_ALEN];
|
||||||
|
Loading…
Reference in New Issue
Block a user