Commit a729782e authored by Dylan Leggio's avatar Dylan Leggio Committed by Greg Kroah-Hartman

Staging: wilc1000: fix two typos in #define's

GAS_INTIAL_REQ should be GAS_INITIAL_REQ.
GAS_INTIAL_RSP should be GAS_INITIAL_RSP.
Improves readability of code.
Signed-off-by: default avatarDylan Leggio <dleggio1@binghamton.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6e9f6b54
...@@ -29,8 +29,8 @@ ...@@ -29,8 +29,8 @@
#define P2P_INV_REQ 0x03 #define P2P_INV_REQ 0x03
#define P2P_INV_RSP 0x04 #define P2P_INV_RSP 0x04
#define PUBLIC_ACT_VENDORSPEC 0x09 #define PUBLIC_ACT_VENDORSPEC 0x09
#define GAS_INTIAL_REQ 0x0a #define GAS_INITIAL_REQ 0x0a
#define GAS_INTIAL_RSP 0x0b #define GAS_INITIAL_RSP 0x0b
#define INVALID_CHANNEL 0 #define INVALID_CHANNEL 0
...@@ -1477,10 +1477,10 @@ void WILC_WFI_p2p_rx(struct net_device *dev, u8 *buff, u32 size) ...@@ -1477,10 +1477,10 @@ void WILC_WFI_p2p_rx(struct net_device *dev, u8 *buff, u32 size)
} }
if (buff[ACTION_CAT_ID] == PUB_ACTION_ATTR_ID) { if (buff[ACTION_CAT_ID] == PUB_ACTION_ATTR_ID) {
switch (buff[ACTION_SUBTYPE_ID]) { switch (buff[ACTION_SUBTYPE_ID]) {
case GAS_INTIAL_REQ: case GAS_INITIAL_REQ:
break; break;
case GAS_INTIAL_RSP: case GAS_INITIAL_RSP:
break; break;
case PUBLIC_ACT_VENDORSPEC: case PUBLIC_ACT_VENDORSPEC:
...@@ -1666,10 +1666,10 @@ static int mgmt_tx(struct wiphy *wiphy, ...@@ -1666,10 +1666,10 @@ static int mgmt_tx(struct wiphy *wiphy,
curr_channel = chan->hw_value; curr_channel = chan->hw_value;
} }
switch (buf[ACTION_SUBTYPE_ID]) { switch (buf[ACTION_SUBTYPE_ID]) {
case GAS_INTIAL_REQ: case GAS_INITIAL_REQ:
break; break;
case GAS_INTIAL_RSP: case GAS_INITIAL_RSP:
break; break;
case PUBLIC_ACT_VENDORSPEC: case PUBLIC_ACT_VENDORSPEC:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment