diff options
author | Roman Kiryanov <rkir@google.com> | 2020-04-29 13:43:07 -0700 |
---|---|---|
committer | Roman Kiryanov <rkir@google.com> | 2020-04-29 21:55:29 +0000 |
commit | e873e30bc0656e1c345da55b581f33ed278a2a93 (patch) | |
tree | b9cf100915d6063a010abd0d68e6335c87229f1c | |
parent | 2c0c9aa9a5fe4a397e8b4ff2bbd165210f64fe36 (diff) | |
download | goldfish-modules-e873e30bc0656e1c345da55b581f33ed278a2a93.tar.gz |
Retire common.patch
We don't need it.
Bug: 154346346
Test: presubmit
Signed-off-by: Roman Kiryanov <rkir@google.com>
Change-Id: Icfc60f3de4a652efae776facebbe08395a48a950
-rw-r--r-- | common.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/common.patch b/common.patch deleted file mode 100644 index c808f9f..0000000 --- a/common.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c -index 14f562cd7..aeb7cde19 100644 ---- a/drivers/net/wireless/mac80211_hwsim.c -+++ b/drivers/net/wireless/mac80211_hwsim.c -@@ -62,6 +62,10 @@ static bool support_p2p_device = true; - module_param(support_p2p_device, bool, 0444); - MODULE_PARM_DESC(support_p2p_device, "Support P2P-Device interface type"); - -+static ushort mac_prefix; -+module_param(mac_prefix, ushort, 0444); -+MODULE_PARM_DESC(mac_prefix, "Second and third most significant octets in MAC"); -+ - /** - * enum hwsim_regtest - the type of regulatory tests we offer - * -@@ -2788,6 +2792,8 @@ static int mac80211_hwsim_new_radio(struct genl_info *info, - if (!param->perm_addr) { - eth_zero_addr(addr); - addr[0] = 0x02; -+ addr[1] = (mac_prefix >> 8) & 0xFF; -+ addr[2] = mac_prefix & 0xFF; - addr[3] = idx >> 8; - addr[4] = idx; - memcpy(data->addresses[0].addr, addr, ETH_ALEN); |