Commit 2a95c4e0 authored by Ajay Singh's avatar Ajay Singh Committed by Greg Kroah-Hartman

staging: wilc1000: define p2p related static variable as constants

Add constant qualifer for 'p2p_vendor_spec' & 'p2p_oui' static
variable because they are treated like constant values.
Signed-off-by: default avatarAjay Singh <ajay.kathat@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0d0f0b06
...@@ -67,8 +67,8 @@ struct p2p_mgmt_data { ...@@ -67,8 +67,8 @@ struct p2p_mgmt_data {
u8 *buff; u8 *buff;
}; };
static u8 p2p_oui[] = {0x50, 0x6f, 0x9A, 0x09}; static const u8 p2p_oui[] = {0x50, 0x6f, 0x9A, 0x09};
static u8 p2p_vendor_spec[] = {0xdd, 0x05, 0x00, 0x08, 0x40, 0x03}; static const u8 p2p_vendor_spec[] = {0xdd, 0x05, 0x00, 0x08, 0x40, 0x03};
#define WILC_IP_TIMEOUT_MS 15000 #define WILC_IP_TIMEOUT_MS 15000
......
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