Repository navigation
Commit 772f038
cfg80211: fix few minor issues in reg_process_hint()
Fix the following issues in reg_process_hint():
1. Add verification that wiphy is valid before processing
NL80211_REGDOMAIN_SET_BY_COUNTRY_IE.
2. Free the request in case of invalid initiator.
3. Remove WARN_ON check on reg_request->alpha2 as it is not a
pointer.
Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>1 parent 5251207 commit 772f038
1 file changed
Lines changed: 10 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1683 | 1683 | | |
1684 | 1684 | | |
1685 | 1685 | | |
1686 | | - | |
1687 | | - | |
1688 | | - | |
1689 | 1686 | | |
1690 | 1687 | | |
1691 | 1688 | | |
1692 | | - | |
1693 | | - | |
1694 | | - | |
1695 | | - | |
1696 | | - | |
1697 | 1689 | | |
1698 | 1690 | | |
1699 | 1691 | | |
| |||
1706 | 1698 | | |
1707 | 1699 | | |
1708 | 1700 | | |
| 1701 | + | |
| 1702 | + | |
1709 | 1703 | | |
1710 | 1704 | | |
1711 | 1705 | | |
| 1706 | + | |
| 1707 | + | |
1712 | 1708 | | |
1713 | 1709 | | |
1714 | 1710 | | |
1715 | 1711 | | |
1716 | | - | |
| 1712 | + | |
1717 | 1713 | | |
1718 | 1714 | | |
1719 | 1715 | | |
1720 | 1716 | | |
1721 | 1717 | | |
1722 | 1718 | | |
| 1719 | + | |
| 1720 | + | |
| 1721 | + | |
| 1722 | + | |
| 1723 | + | |
1723 | 1724 | | |
1724 | 1725 | | |
1725 | 1726 | | |
| |||
0 commit comments