commit | 11828dbce6f769ed631919aa378b645b1af6bda6 | [log] [tgz] |
---|---|---|
author | Matti Gottlieb <matti.gottlieb@intel.com> | Mon Jun 01 15:15:11 2015 +0300 |
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | Fri Jun 26 09:01:30 2015 +0300 |
tree | 209012b4c3ee5650f9ea1e11f43bb78e1a68f222 | |
parent | 923a8c1d8069104726bde55c37cec66324ccc328 [diff] |
iwlwifi: mvm: Avoid accessing Null pointer when setting igtk Sometimes when setting an igtk key the station maybe NULL. In the of case igtk the function will skip to the end, and try to print sta->addr, if sta is Null - we will access a Null pointer. Avoid accessing a Null pointer when setting a igtk key & the sta == NULL, and print a default MAC address instead. Signed-off-by: Matti Gottlieb <matti.gottlieb@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>