Files
linux/drivers/net
Brian Norris ba1c7e45ec mwifiex: set adapter->dev before starting to use mwifiex_dbg()
The mwifiex_dbg() log handler utilizes the struct device in
adapter->dev. Without it, it decides not to print anything.

As of commit 2e02b58142 ("mwifiex: Allow mwifiex early access to device
structure"), we started assigning that pointer only after we finished
mwifiex_register() -- this effectively neuters any mwifiex_dbg() logging
done before this point.

Let's move the device assignment into mwifiex_register().

Fixes: 2e02b58142 ("mwifiex: Allow mwifiex early access to device structure")
Cc: Rajat Jain <rajatja@google.com>
Signed-off-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2017-03-16 10:14:12 +02:00
..
2017-02-27 18:43:47 -08:00
2017-02-11 20:59:41 -05:00
2017-03-08 22:19:17 -08:00
2017-03-13 21:53:48 -07:00
2017-03-01 09:58:31 -08:00
2017-02-27 18:43:47 -08:00
2017-02-11 20:59:41 -05:00
2017-03-08 23:10:02 -08:00
2017-03-13 16:03:42 -07:00